Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 42122c8e76b849d2232231a1843a356d98aeb87e..cf7a8d495babf6d8bc4e034f7a6056c57dfc6723 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -144,7 +144,7 @@ Handle<Code> PlatformCodeStub::GenerateCode() { |
// Create the code object. |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate(), &desc); |
// Copy the generated code into a heap object. |
Code::Flags flags = Code::ComputeFlags(GetCodeKind(), GetExtraICState()); |
Handle<Code> new_object = factory->NewCode( |