Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 28f2534ba8318b943b0914d089a1a28da0777beb..4b1cb5be1533ae995f69c5dc5ed50e98ee6ccbda 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -2922,7 +2922,9 @@ Handle<Code> KeyedStoreStubCompiler::CompileStoreElement( |
ElementsKind elements_kind = receiver_map->elements_kind(); |
bool is_jsarray = receiver_map->instance_type() == JS_ARRAY_TYPE; |
Handle<Code> stub = |
- KeyedStoreElementStub(is_jsarray, elements_kind, grow_mode_).GetCode(); |
+ KeyedStoreElementStub(is_jsarray, |
+ elements_kind, |
+ grow_mode_).GetCode(isolate()); |
__ DispatchMap(edx, receiver_map, stub, DO_SMI_CHECK); |
@@ -3164,11 +3166,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(edx, receiver_map, stub, DO_SMI_CHECK); |
} else { |
Handle<Code> stub = |
- KeyedLoadDictionaryElementStub().GetCode(); |
+ KeyedLoadDictionaryElementStub().GetCode(isolate()); |
__ DispatchMap(edx, receiver_map, stub, DO_SMI_CHECK); |
} |