| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 4ec47e5278a97268023039d11527b50cea1185bd..09a245a1ea27aec642f93ff799fa976c623f9208 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1318,17 +1318,6 @@ Handle<JSModule> Factory::NewJSModule(Handle<Context> context,
|
| }
|
|
|
|
|
| -// TODO(mstarzinger): Temporary wrapper until handlified.
|
| -static Handle<NameDictionary> NameDictionaryAdd(Handle<NameDictionary> dict,
|
| - Handle<Name> name,
|
| - Handle<Object> value,
|
| - PropertyDetails details) {
|
| - CALL_HEAP_FUNCTION(dict->GetIsolate(),
|
| - dict->Add(*name, *value, details),
|
| - NameDictionary);
|
| -}
|
| -
|
| -
|
| static Handle<GlobalObject> NewGlobalObjectFromMap(Isolate* isolate,
|
| Handle<Map> map) {
|
| CALL_HEAP_FUNCTION(isolate,
|
| @@ -1371,7 +1360,7 @@ Handle<GlobalObject> Factory::NewGlobalObject(Handle<JSFunction> constructor) {
|
| Handle<Name> name(descs->GetKey(i));
|
| Handle<Object> value(descs->GetCallbacksObject(i), isolate());
|
| Handle<PropertyCell> cell = NewPropertyCell(value);
|
| - NameDictionaryAdd(dictionary, name, cell, d);
|
| + NameDictionary::AddNameEntry(dictionary, name, cell, d);
|
| }
|
|
|
| // Allocate the global object and initialize it with the backing store.
|
|
|