Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 4dd7f770d14ba09d06cadebc5e3acba1652e8440..7ac3c0d81d9b7638f1711adfdabc9ccf5b59a33e 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -889,6 +889,15 @@ Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { |
} |
+Handle<FixedArray> Factory::CopyAndTenureFixedCOWArray( |
+ Handle<FixedArray> array) { |
+ ASSERT(isolate()->heap()->InNewSpace(*array)); |
+ CALL_HEAP_FUNCTION(isolate(), |
+ isolate()->heap()->CopyAndTenureFixedCOWArray(*array), |
+ FixedArray); |
+} |
+ |
+ |
Handle<FixedArray> Factory::CopySizeFixedArray(Handle<FixedArray> array, |
int new_length, |
PretenureFlag pretenure) { |