Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 77d22006a6aed9dfdca1a581644a87f85d2ce7da..e668e27973c83b859c1e42b80641a1c9f20dd5a7 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -476,6 +476,8 @@ 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"); |
CALL_HEAP_FUNCTION( |
isolate(), |
isolate()->heap()->AllocateJSGlobalPropertyCell(*value), |