Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 05d2773755d23916f0a29f10c3db60bf6feb9f77..b652fc05e9877ac071a6e7a2df3f78c1be99dc88 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -3087,11 +3087,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(r1, r2, receiver_map, stub, DO_SMI_CHECK); |
} else { |
Handle<Code> stub = |
- KeyedLoadDictionaryElementStub().GetCode(); |
+ KeyedLoadDictionaryElementStub().GetCode(isolate()); |
__ DispatchMap(r1, r2, receiver_map, stub, DO_SMI_CHECK); |
} |
@@ -3184,7 +3184,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(r2, r3, receiver_map, stub, DO_SMI_CHECK); |