Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index f712880a02cd495daba0491cb08a9f2f2bd3e9af..22ec4d395ce628b04b9fc7e6e5dcb863f275c8a0 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -44,7 +44,7 @@ class Factory { |
Handle<Object> value, |
PretenureFlag pretenure = NOT_TENURED); |
- // Allocate a new uninitialized fixed array. |
+ // Allocates a fixed array initialized with undefined values. |
Handle<FixedArray> NewFixedArray( |
int size, |
PretenureFlag pretenure = NOT_TENURED); |
@@ -54,6 +54,9 @@ class Factory { |
int size, |
PretenureFlag pretenure = NOT_TENURED); |
+ // Allocates an uninitialized fixed array. It must be filled by the caller. |
+ Handle<FixedArray> NewUninitializedFixedArray(int size); |
+ |
// Allocate a new uninitialized fixed double array. |
Handle<FixedDoubleArray> NewFixedDoubleArray( |
int size, |