Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index f4b0b0b7c55931b21d8f15c651dbeaa478494bf2..d1d1bea813a31f41a22e24c79693713822ed2025 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 capacity) = 0; |
static void InitializeOncePerProcess(); |
static void TearDown(); |