Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 23fb2133468afb020bff452f4e9163c6e904bd58..6dd2a99518753b694a64e44b9848d0c9713a4935 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3534,13 +3534,14 @@ Map* Map::elements_transition_map() { |
} |
-MaybeObject* Map::AddTransition(String* key, Object* value) { |
- if (HasTransitionArray()) return transitions()->CopyInsert(key, value); |
- return TransitionArray::NewWith(key, value); |
+MaybeObject* Map::AddTransition(String* key, Map* target) { |
+ if (HasTransitionArray()) return transitions()->CopyInsert(key, target); |
+ return TransitionArray::NewWith(key, target); |
} |
-void Map::SetTransition(int transition_index, Object* value) { |
- transitions()->SetValue(transition_index, value); |
+ |
+void Map::SetTransition(int transition_index, Map* target) { |
+ transitions()->SetTarget(transition_index, target); |
} |