| Index: src/arm/lithium-codegen-arm.h
|
| ===================================================================
|
| --- src/arm/lithium-codegen-arm.h (revision 7563)
|
| +++ src/arm/lithium-codegen-arm.h (working copy)
|
| @@ -65,6 +65,9 @@
|
| // Simple accessors.
|
| MacroAssembler* masm() const { return masm_; }
|
| CompilationInfo* info() const { return info_; }
|
| + Isolate* isolate() const { return info_->isolate(); }
|
| + Factory* factory() const { return isolate()->factory(); }
|
| + Heap* heap() const { return isolate()->heap(); }
|
|
|
| // Support for converting LOperands to assembler types.
|
| // LOperand must be a register.
|
| @@ -172,13 +175,13 @@
|
| void CallCode(Handle<Code> code,
|
| RelocInfo::Mode mode,
|
| LInstruction* instr);
|
| - void CallRuntime(Runtime::Function* function,
|
| + void CallRuntime(const Runtime::Function* function,
|
| int num_arguments,
|
| LInstruction* instr);
|
| void CallRuntime(Runtime::FunctionId id,
|
| int num_arguments,
|
| LInstruction* instr) {
|
| - Runtime::Function* function = Runtime::FunctionForId(id);
|
| + const Runtime::Function* function = Runtime::FunctionForId(id);
|
| CallRuntime(function, num_arguments, instr);
|
| }
|
|
|
|
|