Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index e1347ffcefd5c63d298480f3aa9fd3e563183925..31062dfa03de4cee849d4ce0a90e6ec0cf6b5684 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -45,6 +45,10 @@ class V8_EXPORT_PRIVATE Factory final { |
int size, |
PretenureFlag pretenure = NOT_TENURED); |
+ // Allocate a new fixed array with Smi entries. |
+ Handle<FixedArray> NewFixedArrayWithSmis( |
+ int size, int value, PretenureFlag pretenure = NOT_TENURED); |
+ |
// Allocates an uninitialized fixed array. It must be filled by the caller. |
Handle<FixedArray> NewUninitializedFixedArray(int size); |