Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 0f028e5c5968e77a046d65a508fd5cfe10583468..e9a43fd4fc7db90730ef96c9818c808663c9e2f6 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -259,12 +259,19 @@ class Factory { |
PretenureFlag pretenure = NOT_TENURED); |
Handle<JSArray> NewJSArrayWithElements( |
- Handle<FixedArray> elements, |
+ Handle<FixedArrayBase> elements, |
PretenureFlag pretenure = NOT_TENURED); |
- void SetContent(Handle<JSArray> array, Handle<FixedArray> elements); |
+ void SetElementsCapacityAndLength(Handle<JSArray> array, |
+ int capacity, |
+ int length); |
- void EnsureCanContainNonSmiElements(Handle<JSArray> array); |
+ void SetContent(Handle<JSArray> array, Handle<FixedArrayBase> elements); |
+ |
+ void EnsureCanContainHeapObjectElements(Handle<JSArray> array); |
+ void EnsureCanContainElements(Handle<JSArray> array, |
+ Handle<FixedArrayBase> elements, |
+ EnsureElementsMode mode); |
Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); |