Index: src/ia32/virtual-frame-ia32.h |
=================================================================== |
--- src/ia32/virtual-frame-ia32.h (revision 7267) |
+++ src/ia32/virtual-frame-ia32.h (working copy) |
@@ -67,7 +67,9 @@ |
private: |
bool previous_state_; |
- CodeGenerator* cgen() {return CodeGeneratorScope::Current();} |
+ CodeGenerator* cgen() { |
+ return CodeGeneratorScope::Current(Isolate::Current()); |
+ } |
}; |
// An illegal index into the virtual frame. |
@@ -79,7 +81,9 @@ |
// Construct a virtual frame as a clone of an existing one. |
explicit inline VirtualFrame(VirtualFrame* original); |
- CodeGenerator* cgen() { return CodeGeneratorScope::Current(); } |
+ CodeGenerator* cgen() { |
+ return CodeGeneratorScope::Current(Isolate::Current()); |
+ } |
MacroAssembler* masm() { return cgen()->masm(); } |
@@ -344,7 +348,7 @@ |
// Call runtime given the number of arguments expected on (and |
// removed from) the stack. |
- Result CallRuntime(Runtime::Function* f, int arg_count); |
+ Result CallRuntime(const Runtime::Function* f, int arg_count); |
Result CallRuntime(Runtime::FunctionId id, int arg_count); |
#ifdef ENABLE_DEBUGGER_SUPPORT |