Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 987d2810aa75d89681fee1bceef10cfaa87b7214..44f413c4cf68ce90734cfb08c16ee1d1a96ccde5 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -59,13 +59,13 @@ Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size, |
} |
-Handle<FixedArray> Factory::NewFixedDoubleArray(int size, |
- PretenureFlag pretenure) { |
+Handle<FixedDoubleArray> Factory::NewFixedDoubleArray(int size, |
+ PretenureFlag pretenure) { |
ASSERT(0 <= size); |
CALL_HEAP_FUNCTION( |
isolate(), |
isolate()->heap()->AllocateUninitializedFixedDoubleArray(size, pretenure), |
- FixedArray); |
+ FixedDoubleArray); |
} |
@@ -471,6 +471,12 @@ Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { |
} |
+Handle<FixedDoubleArray> Factory::CopyFixedDoubleArray( |
+ Handle<FixedDoubleArray> array) { |
+ CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedDoubleArray); |
+} |
+ |
+ |
Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( |
Handle<SharedFunctionInfo> function_info, |
Handle<Map> function_map, |