Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index 219d19d283164c52fcc331046d49f825b3c79cac..b4d6836802708e63cd33e4780b61c55b87e39475 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -1948,10 +1948,12 @@ class HEnterInlined final : public HTemplateInstruction<0> { |
HConstant* closure_context, int arguments_count, |
FunctionLiteral* function, |
InliningKind inlining_kind, Variable* arguments_var, |
- HArgumentsObject* arguments_object) { |
- return new (zone) HEnterInlined(return_id, closure, closure_context, |
- arguments_count, function, inlining_kind, |
- arguments_var, arguments_object, zone); |
+ HArgumentsObject* arguments_object, |
+ TailCallMode syntactic_tail_call_mode) { |
+ return new (zone) |
+ HEnterInlined(return_id, closure, closure_context, arguments_count, |
+ function, inlining_kind, arguments_var, arguments_object, |
+ syntactic_tail_call_mode, zone); |
} |
void RegisterReturnTarget(HBasicBlock* return_target, Zone* zone); |
@@ -1967,6 +1969,9 @@ class HEnterInlined final : public HTemplateInstruction<0> { |
void set_arguments_pushed() { arguments_pushed_ = true; } |
FunctionLiteral* function() const { return function_; } |
InliningKind inlining_kind() const { return inlining_kind_; } |
+ TailCallMode syntactic_tail_call_mode() const { |
+ return syntactic_tail_call_mode_; |
+ } |
BailoutId ReturnId() const { return return_id_; } |
int inlining_id() const { return inlining_id_; } |
void set_inlining_id(int inlining_id) { inlining_id_ = inlining_id; } |
@@ -1985,7 +1990,7 @@ class HEnterInlined final : public HTemplateInstruction<0> { |
HConstant* closure_context, int arguments_count, |
FunctionLiteral* function, InliningKind inlining_kind, |
Variable* arguments_var, HArgumentsObject* arguments_object, |
- Zone* zone) |
+ TailCallMode syntactic_tail_call_mode, Zone* zone) |
: return_id_(return_id), |
shared_(handle(closure->shared())), |
closure_(closure), |
@@ -1994,6 +1999,7 @@ class HEnterInlined final : public HTemplateInstruction<0> { |
arguments_pushed_(false), |
function_(function), |
inlining_kind_(inlining_kind), |
+ syntactic_tail_call_mode_(syntactic_tail_call_mode), |
inlining_id_(0), |
arguments_var_(arguments_var), |
arguments_object_(arguments_object), |
@@ -2007,6 +2013,7 @@ class HEnterInlined final : public HTemplateInstruction<0> { |
bool arguments_pushed_; |
FunctionLiteral* function_; |
InliningKind inlining_kind_; |
+ TailCallMode syntactic_tail_call_mode_; |
int inlining_id_; |
Variable* arguments_var_; |
HArgumentsObject* arguments_object_; |