| Index: src/factory.cc
|
| ===================================================================
|
| --- src/factory.cc (revision 8778)
|
| +++ src/factory.cc (working copy)
|
| @@ -84,6 +84,14 @@
|
| }
|
|
|
|
|
| +Handle<ObjectHashTable> Factory::NewObjectHashTable(int at_least_space_for) {
|
| + ASSERT(0 <= at_least_space_for);
|
| + CALL_HEAP_FUNCTION(isolate(),
|
| + ObjectHashTable::Allocate(at_least_space_for),
|
| + ObjectHashTable);
|
| +}
|
| +
|
| +
|
| Handle<DescriptorArray> Factory::NewDescriptorArray(int number_of_descriptors) {
|
| ASSERT(0 <= number_of_descriptors);
|
| CALL_HEAP_FUNCTION(isolate(),
|
| @@ -892,6 +900,13 @@
|
| }
|
|
|
|
|
| +void Factory::BecomeJSObject(Handle<JSProxy> object) {
|
| + CALL_HEAP_FUNCTION_VOID(
|
| + isolate(),
|
| + isolate()->heap()->ReinitializeJSProxyAsJSObject(*object));
|
| +}
|
| +
|
| +
|
| Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo(
|
| Handle<String> name,
|
| int number_of_literals,
|
|
|