Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index fbb0183815083b93fe410b498c968372f7f71df4..6b45b3eac56aa87cbb0e43695bc7342c6b328c97 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3528,6 +3528,10 @@ MaybeObject* Map::AddTransition(String* key, Object* value) { |
return TransitionArray::NewWith(key, value); |
} |
+void Map::SetTransition(int transition_index, Object* value) { |
+ transitions()->SetValue(transition_index, value); |
+} |
+ |
// If the map is using the empty descriptor array, install a new empty |
// descriptor array that will contain an elements transition. |