Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 047d1d2d261b318595aba2f730df055af090fa65..c6e187764136a21ef2da275c3360179d8566dd3d 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -2742,7 +2742,9 @@ Handle<Code> KeyedStoreStubCompiler::CompileStoreElement( |
ElementsKind elements_kind = receiver_map->elements_kind(); |
bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE; |
Handle<Code> stub = |
- KeyedStoreElementStub(is_js_array, elements_kind, grow_mode_).GetCode(); |
+ KeyedStoreElementStub(is_js_array, |
+ elements_kind, |
+ grow_mode_).GetCode(isolate()); |
__ DispatchMap(rdx, receiver_map, stub, DO_SMI_CHECK); |
@@ -2981,11 +2983,11 @@ Handle<Code> KeyedLoadStubCompiler::CompileLoadElement( |
receiver_map->has_external_array_elements()) { |
Handle<Code> stub = KeyedLoadFastElementStub( |
receiver_map->instance_type() == JS_ARRAY_TYPE, |
- elements_kind).GetCode(); |
+ elements_kind).GetCode(isolate()); |
__ DispatchMap(rdx, receiver_map, stub, DO_SMI_CHECK); |
} else { |
Handle<Code> stub = |
- KeyedLoadDictionaryElementStub().GetCode(); |
+ KeyedLoadDictionaryElementStub().GetCode(isolate()); |
__ DispatchMap(rdx, receiver_map, stub, DO_SMI_CHECK); |
} |