| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index fe71a225b5bb0374a6a8a7ed2186469b6ba6dc8a..ab42b1967262afa20a10eaf75b8f0ae379a1ef75 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -476,8 +476,7 @@ Handle<ExternalArray> Factory::NewExternalArray(int length,
|
|
|
| Handle<JSGlobalPropertyCell> Factory::NewJSGlobalPropertyCell(
|
| Handle<Object> value) {
|
| - ALLOW_HANDLE_DEREF(isolate(),
|
| - "converting a handle into a global property cell");
|
| + AllowDeferredHandleDereference convert_to_cell;
|
| CALL_HEAP_FUNCTION(
|
| isolate(),
|
| isolate()->heap()->AllocateJSGlobalPropertyCell(*value),
|
|
|