Index: src/builtins/setup-builtins-internal.cc |
diff --git a/src/builtins/setup-builtins-internal.cc b/src/builtins/setup-builtins-internal.cc |
index 8d450e0a4352ee974df650978ed764f12bdf63b1..ba6c052085549eaa085033a46470e5ea0c5cf3f8 100644 |
--- a/src/builtins/setup-builtins-internal.cc |
+++ b/src/builtins/setup-builtins-internal.cc |
@@ -50,7 +50,7 @@ Code* BuildWithMacroAssembler(Isolate* isolate, |
DCHECK(!masm.has_frame()); |
generator(&masm); |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate, &desc); |
Handle<Code> code = |
isolate->factory()->NewCode(desc, flags, masm.CodeObject()); |
PostBuildProfileAndTracing(isolate, *code, s_name); |
@@ -70,7 +70,7 @@ Code* BuildAdaptor(Isolate* isolate, Address builtin_address, |
DCHECK(!masm.has_frame()); |
Builtins::Generate_Adaptor(&masm, builtin_address, exit_frame_type); |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate, &desc); |
Handle<Code> code = |
isolate->factory()->NewCode(desc, flags, masm.CodeObject()); |
PostBuildProfileAndTracing(isolate, *code, name); |