Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 5bfc3b708913b16eae915b6988b7f193862f7fe4..88732b262a518ff1271e44d0846ae8e18c3e2494 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -869,7 +869,7 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global, |
// Cache the array maps, needed by ArrayConstructorStub |
CacheInitialJSArrayMaps(native_context(), initial_map); |
ArrayConstructorStub array_constructor_stub(isolate); |
- Handle<Code> code = array_constructor_stub.GetCode(isolate); |
+ Handle<Code> code = array_constructor_stub.GetCode(); |
array_function->shared()->set_construct_stub(*code); |
} |
@@ -1594,7 +1594,7 @@ Handle<JSFunction> Genesis::InstallInternalArray( |
Accessors::FunctionSetPrototype(array_function, prototype); |
InternalArrayConstructorStub internal_array_constructor_stub(isolate()); |
- Handle<Code> code = internal_array_constructor_stub.GetCode(isolate()); |
+ Handle<Code> code = internal_array_constructor_stub.GetCode(); |
array_function->shared()->set_construct_stub(*code); |
array_function->shared()->DontAdaptArguments(); |