Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index 18e47d2146d6ccdc3525ff5627bd9b42450f2c03..28b23e375e4a059c453ab82a6da33ff3f5a840cf 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -76,17 +76,6 @@ class ElementsAccessor { |
// element that is non-deletable. |
virtual void SetLength(Handle<JSArray> holder, uint32_t new_length) = 0; |
- // Modifies both the length and capacity of a JSArray, resizing the underlying |
- // backing store as necessary. This method does NOT honor the semantics of |
- // EcmaScript 5.1 15.4.5.2, arrays can be shrunk beyond non-deletable |
- // elements. This method should only be called for array expansion OR by |
- // runtime JavaScript code that use InternalArrays and don't care about |
- // EcmaScript 5.1 semantics. |
- virtual void SetCapacityAndLength( |
- Handle<JSArray> array, |
- int capacity, |
- int length) = 0; |
- |
// Deletes an element in an object. |
virtual void Delete(Handle<JSObject> holder, uint32_t key, |
LanguageMode language_mode) = 0; |