Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 7616c9f62c7ad16e5f95380221b2d6bb0a450fcf..8fc440e1809e6758de5e26534c537829a3bbf48d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -4655,6 +4655,13 @@ MaybeObject* Map::CopyDropTransitions() { |
return new_map; |
} |
+void Map::UpdateCodeCache(Handle<Map> map, |
+ Handle<String> name, |
+ Handle<Code> code) { |
+ Isolate* isolate = map->GetIsolate(); |
+ CALL_HEAP_FUNCTION_VOID(isolate, |
+ map->UpdateCodeCache(*name, *code)); |
+} |
MaybeObject* Map::UpdateCodeCache(String* name, Code* code) { |
// Allocate the code cache if not present. |