| Index: src/arm/codegen-arm.h
|
| diff --git a/src/arm/codegen-arm.h b/src/arm/codegen-arm.h
|
| index a5f77fe6956ddd67893d7dd4925e83eb657e6874..c098acdd77fd064e75fb314eb88df8967152622e 100644
|
| --- a/src/arm/codegen-arm.h
|
| +++ b/src/arm/codegen-arm.h
|
| @@ -303,7 +303,17 @@ class CodeGenerator: public AstVisitor {
|
| void Branch(bool if_true, JumpTarget* target);
|
| void CheckStack();
|
|
|
| + struct InlineRuntimeLUT {
|
| + void (CodeGenerator::*method)(ZoneList<Expression*>*);
|
| + const char* name;
|
| + };
|
| +
|
| + static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name);
|
| bool CheckForInlineRuntimeCall(CallRuntime* node);
|
| + static bool PatchInlineRuntimeEntry(Handle<String> name,
|
| + const InlineRuntimeLUT& new_entry,
|
| + InlineRuntimeLUT* old_entry);
|
| +
|
| Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node);
|
| void ProcessDeclarations(ZoneList<Declaration*>* declarations);
|
|
|
| @@ -433,6 +443,8 @@ class CodeGenerator: public AstVisitor {
|
| // in a spilled state.
|
| bool in_spilled_code_;
|
|
|
| + static InlineRuntimeLUT kInlineRuntimeLUT[];
|
| +
|
| friend class VirtualFrame;
|
| friend class JumpTarget;
|
| friend class Reference;
|
|
|