Index: src/factory.h |
=================================================================== |
--- src/factory.h (revision 2321) |
+++ src/factory.h (working copy) |
@@ -47,8 +47,10 @@ |
// 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<NumberDictionary> NewNumberDictionary(int at_least_space_for); |
+ static Handle<StringDictionary> NewStringDictionary(int at_least_space_for); |
+ |
static Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); |
static Handle<String> LookupSymbol(Vector<const char> str); |
@@ -313,9 +315,10 @@ |
static Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); |
- static Handle<Dictionary> DictionaryAtNumberPut(Handle<Dictionary>, |
- uint32_t key, |
- Handle<Object> value); |
+ static Handle<NumberDictionary> DictionaryAtNumberPut( |
+ Handle<NumberDictionary>, |
+ uint32_t key, |
+ Handle<Object> value); |
#ifdef ENABLE_DEBUGGER_SUPPORT |
static Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); |