Index: src/factory.h |
=================================================================== |
--- src/factory.h (revision 631) |
+++ src/factory.h (working copy) |
@@ -37,10 +37,14 @@ |
class Factory : public AllStatic { |
public: |
- // Allocate a new fixed array. |
+ // Allocate a new fixed array with undefined entries. |
static Handle<FixedArray> NewFixedArray( |
int size, |
PretenureFlag pretenure = NOT_TENURED); |
+ |
+ // Allocate a new fixed array with non-existing entries (the hole). |
+ static Handle<FixedArray> NewFixedArrayWithHoles(int size); |
+ |
static Handle<Dictionary> NewDictionary(int at_least_space_for); |
static Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); |