| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index fbe6cb860b144a20fa1816af24f61e22118bae7e..8b842a733928f7425f73870b8c61523bc03ac84c 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -491,13 +491,12 @@ Handle<Cell> Factory::NewCell(Handle<Object> value) {
|
| }
|
|
|
|
|
| -Handle<JSGlobalPropertyCell> Factory::NewJSGlobalPropertyCell(
|
| - Handle<Object> value) {
|
| +Handle<PropertyCell> Factory::NewPropertyCell(Handle<Object> value) {
|
| AllowDeferredHandleDereference convert_to_cell;
|
| CALL_HEAP_FUNCTION(
|
| isolate(),
|
| - isolate()->heap()->AllocateJSGlobalPropertyCell(*value),
|
| - JSGlobalPropertyCell);
|
| + isolate()->heap()->AllocatePropertyCell(*value),
|
| + PropertyCell);
|
| }
|
|
|
|
|
|
|