Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index bfca9c1f8a6ebf16ba4d0070e4aa08e694be91d3..135e091a6ffe7ed69c97f6119c86a3d1a4235581 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -109,6 +109,9 @@ class ElementsAccessor { |
// changing array sizes as defined in EcmaScript 5.1 15.4.5.2, i.e. array that |
// have non-deletable elements can only be shrunk to the size of highest |
// element that is non-deletable. |
+ MUST_USE_RESULT virtual Handle<Object> SetLength( |
+ Handle<JSArray> holder, |
+ Handle<Object> new_length) = 0; |
MUST_USE_RESULT virtual MaybeObject* SetLength(JSArray* holder, |
Object* new_length) = 0; |