Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d466f6571515d3eeb8aaf5b082f7591c36cfd89c..2c31f30466c301982bab631d2aa6027a2908c68c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5377,9 +5377,8 @@ class Map: public HeapObject { |
// Returns a non-deprecated version of the input. If the input was not |
// deprecated, it is directly returned. Otherwise, the non-deprecated version |
// is found by re-transitioning from the root of the transition tree using the |
- // descriptor array of the map. New maps (and transitions) may be created if |
- // no new (more general) version exists. |
- static inline Handle<Map> CurrentMapForDeprecated(Handle<Map> map); |
+ // descriptor array of the map. Returns NULL if no updated map is found. |
+ Map* CurrentMapForDeprecated(); |
MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); |
MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors(); |