Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 1a3a007a8536c7b3188affcca5c6fb115c60998a..ad57af3954dd5b24d4d92f162fddaad84109f0e3 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1041,6 +1041,13 @@ Handle<FixedArray> Factory::CopyFixedArrayAndGrow(Handle<FixedArray> array, |
FixedArray); |
} |
+Handle<FixedArray> Factory::CopyFixedArrayUpTo(Handle<FixedArray> array, |
+ int new_len, |
+ PretenureFlag pretenure) { |
+ CALL_HEAP_FUNCTION(isolate(), isolate()->heap()->CopyFixedArrayUpTo( |
+ *array, new_len, pretenure), |
+ FixedArray); |
+} |
Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { |
CALL_HEAP_FUNCTION(isolate(), |