Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 12413123c09c2a922da3f76a7fbe3679a3dd0609..3e67af8db1e9fcfcfc57485810ac523976952e0c 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -1613,6 +1613,8 @@ class JSObject: public JSReceiver { |
| bool HasDictionaryArgumentsElements(); |
| inline SeededNumberDictionary* element_dictionary(); // Gets slow elements. |
| + inline bool ShouldTrackAllocationInfo(); |
| + |
| inline void set_map_and_elements( |
| Map* map, |
| FixedArrayBase* value, |
| @@ -8284,6 +8286,8 @@ class JSArray: public JSObject { |
| // least the stated size. |
| inline void EnsureSize(int minimum_size_of_backing_fixed_array); |
| + inline bool ShouldTrackAllocationInfo(); |
|
danno
2013/02/11 15:05:21
See previous comments, I think this method is supe
|
| + |
| // Dispatched behavior. |
| DECLARE_PRINTER(JSArray) |
| DECLARE_VERIFIER(JSArray) |