Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index 1ffd4d996fbfa4845f61fd9e62c421a352fc6e5e..76e1aa6f39a3698ff35e28da54ee4a9b54e3e05a 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -114,6 +114,9 @@ class ElementsAccessor { |
Handle<Map> map) = 0; |
virtual void GrowCapacityAndConvert(Handle<JSObject> object, |
uint32_t capacity) = 0; |
+ // Unlike GrowCapacityAndConvert do not attempt to convert the backing store |
+ // and simply return false in this case. |
+ virtual bool GrowCapacity(Handle<JSObject> object, uint32_t index) = 0; |
static void InitializeOncePerProcess(); |
static void TearDown(); |