Index: src/layout-descriptor.h |
diff --git a/src/layout-descriptor.h b/src/layout-descriptor.h |
index cc2666a4873919252e01ec395fe4f906a0c5a944..a8c9ec59101e766be1ed535ac5284edf566e6c71 100644 |
--- a/src/layout-descriptor.h |
+++ b/src/layout-descriptor.h |
@@ -53,10 +53,10 @@ class LayoutDescriptor : public FixedTypedArray<Uint32ArrayTraits> { |
Handle<DescriptorArray> descriptors, |
int num_descriptors); |
- // Creates new layout descriptor by appending property with |details| to |
- // |map|'s layout descriptor. |
- static Handle<LayoutDescriptor> Append(Handle<Map> map, |
- PropertyDetails details); |
+ // Modifies |map|'s layout descriptor or creates a new one if necessary by |
+ // appending property with |details| to it. |
+ static Handle<LayoutDescriptor> ShareAppend(Handle<Map> map, |
+ PropertyDetails details); |
// Creates new layout descriptor by appending property with |details| to |
// |map|'s layout descriptor and if it is still fast then returns it. |