Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index ce4dd5020b8a3f48e1ec54132f8435835679af4d..0363de462d883320a4b03fa985c64c6ba372a8fd 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6224,7 +6224,6 @@ class Map: public HeapObject { |
static Handle<Map> RawCopy(Handle<Map> map, int instance_size); |
MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); |
- MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors(); |
static Handle<Map> CopyDropDescriptors(Handle<Map> map); |
MUST_USE_RESULT MaybeObject* CopyDropDescriptors(); |
static Handle<Map> CopyReplaceDescriptors(Handle<Map> map, |
@@ -6271,6 +6270,8 @@ class Map: public HeapObject { |
// Returns a copy of the map, with all transitions dropped from the |
// instance descriptors. |
static Handle<Map> Copy(Handle<Map> map); |
+ static Handle<Map> Create(Handle<JSFunction> constructor, |
+ int extra_inobject_properties); |
MUST_USE_RESULT MaybeObject* Copy(); |
// Returns the next free property index (only valid for FAST MODE). |