Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 29ce51f36d051d07fd822d6902b578b131b3b347..daaed525cc3b9f21255640a1cab9cf042f698055 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -3246,10 +3246,10 @@ void NormalizedMapCache::Clear() { |
} |
-void JSObject::UpdateMapCodeCache(Isolate* isolate, |
- Handle<JSObject> object, |
+void JSObject::UpdateMapCodeCache(Handle<JSObject> object, |
Handle<String> name, |
Handle<Code> code) { |
+ Isolate* isolate = object->GetIsolate(); |
CALL_HEAP_FUNCTION_VOID(isolate, |
object->UpdateMapCodeCache(*name, *code)); |
} |