| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 1e6ac19bf7f42dcedcd7fe1a953168967002bdfc..e6c508e694868845c2cacc3c1cac948e76402dc1 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -2069,14 +2069,15 @@ class HEnterInlined V8_FINAL : public HTemplateInstruction<0> {
|
| public:
|
| static HEnterInlined* New(Zone* zone,
|
| HValue* context,
|
| + BailoutId return_id,
|
| Handle<JSFunction> closure,
|
| int arguments_count,
|
| FunctionLiteral* function,
|
| InliningKind inlining_kind,
|
| Variable* arguments_var,
|
| HArgumentsObject* arguments_object) {
|
| - return new(zone) HEnterInlined(closure, arguments_count, function,
|
| - inlining_kind, arguments_var,
|
| + return new(zone) HEnterInlined(return_id, closure, arguments_count,
|
| + function, inlining_kind, arguments_var,
|
| arguments_object, zone);
|
| }
|
|
|
| @@ -2091,6 +2092,7 @@ class HEnterInlined V8_FINAL : public HTemplateInstruction<0> {
|
| void set_arguments_pushed() { arguments_pushed_ = true; }
|
| FunctionLiteral* function() const { return function_; }
|
| InliningKind inlining_kind() const { return inlining_kind_; }
|
| + BailoutId ReturnId() const { return return_id_; }
|
|
|
| virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
|
| return Representation::None();
|
| @@ -2102,14 +2104,16 @@ class HEnterInlined V8_FINAL : public HTemplateInstruction<0> {
|
| DECLARE_CONCRETE_INSTRUCTION(EnterInlined)
|
|
|
| private:
|
| - HEnterInlined(Handle<JSFunction> closure,
|
| + HEnterInlined(BailoutId return_id,
|
| + Handle<JSFunction> closure,
|
| int arguments_count,
|
| FunctionLiteral* function,
|
| InliningKind inlining_kind,
|
| Variable* arguments_var,
|
| HArgumentsObject* arguments_object,
|
| Zone* zone)
|
| - : closure_(closure),
|
| + : return_id_(return_id),
|
| + closure_(closure),
|
| arguments_count_(arguments_count),
|
| arguments_pushed_(false),
|
| function_(function),
|
| @@ -2119,6 +2123,7 @@ class HEnterInlined V8_FINAL : public HTemplateInstruction<0> {
|
| return_targets_(2, zone) {
|
| }
|
|
|
| + BailoutId return_id_;
|
| Handle<JSFunction> closure_;
|
| int arguments_count_;
|
| bool arguments_pushed_;
|
|
|