Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index dfffe41fca745672ace8ec5ec05774e91de132ed..6c938cd4bf5a8e0773e9020ae6739063612cab7d 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -1431,7 +1431,6 @@ class HEnterInlined: public HTemplateInstruction<0> { |
ZoneList<HValue*>* arguments_values) |
: closure_(closure), |
arguments_count_(arguments_count), |
- arguments_pushed_(false), |
function_(function), |
call_kind_(call_kind), |
inlining_kind_(inlining_kind), |
@@ -1443,8 +1442,6 @@ class HEnterInlined: public HTemplateInstruction<0> { |
Handle<JSFunction> closure() const { return closure_; } |
int arguments_count() const { return arguments_count_; } |
- bool arguments_pushed() const { return arguments_pushed_; } |
- void set_arguments_pushed() { arguments_pushed_ = true; } |
FunctionLiteral* function() const { return function_; } |
CallKind call_kind() const { return call_kind_; } |
InliningKind inlining_kind() const { return inlining_kind_; } |
@@ -1461,7 +1458,6 @@ class HEnterInlined: public HTemplateInstruction<0> { |
private: |
Handle<JSFunction> closure_; |
int arguments_count_; |
- bool arguments_pushed_; |
FunctionLiteral* function_; |
CallKind call_kind_; |
InliningKind inlining_kind_; |
@@ -1472,13 +1468,21 @@ class HEnterInlined: public HTemplateInstruction<0> { |
class HLeaveInlined: public HTemplateInstruction<0> { |
public: |
- HLeaveInlined() { } |
+ explicit HLeaveInlined(bool arguments_pushed) |
+ : arguments_pushed_(arguments_pushed) { } |
virtual Representation RequiredInputRepresentation(int index) { |
return Representation::None(); |
} |
+ bool arguments_pushed() { |
+ return arguments_pushed_; |
+ } |
+ |
DECLARE_CONCRETE_INSTRUCTION(LeaveInlined) |
+ |
+ private: |
+ bool arguments_pushed_; |
}; |
@@ -4527,7 +4531,6 @@ class HStoreKeyedFastDoubleElement |
SetOperandAt(0, elements); |
SetOperandAt(1, key); |
SetOperandAt(2, val); |
- SetFlag(kDeoptimizeOnUndefined); |
SetGVNFlag(kChangesDoubleArrayElements); |
} |