| Index: src/ia32/lithium-codegen-ia32.h
|
| ===================================================================
|
| --- src/ia32/lithium-codegen-ia32.h (revision 7563)
|
| +++ src/ia32/lithium-codegen-ia32.h (working copy)
|
| @@ -68,6 +68,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.
|
| Operand ToOperand(LOperand* op) const;
|
| @@ -163,11 +166,11 @@
|
|
|
| void CallCode(Handle<Code> code, RelocInfo::Mode mode, LInstruction* instr,
|
| bool adjusted = true);
|
| - void CallRuntime(Runtime::Function* fun, int argc, LInstruction* instr,
|
| + void CallRuntime(const Runtime::Function* fun, int argc, LInstruction* instr,
|
| bool adjusted = true);
|
| void CallRuntime(Runtime::FunctionId id, int argc, LInstruction* instr,
|
| bool adjusted = true) {
|
| - Runtime::Function* function = Runtime::FunctionForId(id);
|
| + const Runtime::Function* function = Runtime::FunctionForId(id);
|
| CallRuntime(function, argc, instr, adjusted);
|
| }
|
|
|
|
|