Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 2ecd3361f6ce99efa1257ec02a3531fec58d17e0..f680c60007c03cb7d21b73c7e7f21730fc18a322 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -95,7 +95,7 @@ Handle<Code> CodeStub::GetCode() { |
HandleScope scope(isolate); |
// Generate the new code. |
- MacroAssembler masm(NULL, 256); |
+ MacroAssembler masm(isolate, NULL, 256); |
GenerateCode(&masm); |
// Create the code object. |
@@ -132,7 +132,7 @@ MaybeObject* CodeStub::TryGetCode() { |
Code* code; |
if (!FindCodeInCache(&code)) { |
// Generate the new code. |
- MacroAssembler masm(NULL, 256); |
+ MacroAssembler masm(Isolate::Current(), NULL, 256); |
GenerateCode(&masm); |
Heap* heap = masm.isolate()->heap(); |