Chromium Code Reviews| Index: src/hydrogen-instructions.h |
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
| index 5082e4d3ff038b938868559af6ecb1724811e0d3..779dbddd57b8c870f19c34f7e8dedddadcb38f1c 100644 |
| --- a/src/hydrogen-instructions.h |
| +++ b/src/hydrogen-instructions.h |
| @@ -1312,9 +1312,11 @@ class HStackCheck: public HTemplateInstruction<1> { |
| class HEnterInlined: public HTemplateInstruction<0> { |
| public: |
| HEnterInlined(Handle<JSFunction> closure, |
| + int arguments, |
|
Kevin Millikin (Chromium)
2012/01/19 10:26:34
Make it sound like a number: "argument_count_" or
|
| FunctionLiteral* function, |
| CallKind call_kind) |
| : closure_(closure), |
| + arguments_(arguments), |
| function_(function), |
| call_kind_(call_kind) { |
| } |
| @@ -1322,6 +1324,7 @@ class HEnterInlined: public HTemplateInstruction<0> { |
| virtual void PrintDataTo(StringStream* stream); |
| Handle<JSFunction> closure() const { return closure_; } |
| + int arguments() const { return arguments_; } |
| FunctionLiteral* function() const { return function_; } |
| CallKind call_kind() const { return call_kind_; } |
| @@ -1333,6 +1336,7 @@ class HEnterInlined: public HTemplateInstruction<0> { |
| private: |
| Handle<JSFunction> closure_; |
| + int arguments_; |
| FunctionLiteral* function_; |
| CallKind call_kind_; |
| }; |