Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index 99a35ea9d7b7a48ded36bda643de46ebc2a80f26..24474cf6660297bb693a47730c5109672be256de 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -3079,11 +3079,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(a1, a2, receiver_map, stub, DO_SMI_CHECK); |
} else { |
Handle<Code> stub = |
- KeyedLoadDictionaryElementStub().GetCode(); |
+ KeyedLoadDictionaryElementStub().GetCode(isolate()); |
__ DispatchMap(a1, a2, receiver_map, stub, DO_SMI_CHECK); |
} |
@@ -3175,7 +3175,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(a2, a3, receiver_map, stub, DO_SMI_CHECK); |