Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 240be719187df946dd347f6583c8f3e3868a4d2a..79aa5cea6dc512d0b0dc35c4b214cb85dbe55198 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -780,7 +780,7 @@ Handle<JSGlobalProxy> Genesis::CreateNewGlobals( |
name, code, prototype, JS_GLOBAL_OBJECT_TYPE, JSGlobalObject::kSize); |
#ifdef DEBUG |
LookupIterator it(prototype, factory()->constructor_string(), |
- LookupIterator::CHECK_OWN_REAL); |
+ LookupIterator::CHECK_PROPERTY); |
Handle<Object> value = JSReceiver::GetProperty(&it).ToHandleChecked(); |
DCHECK(it.IsFound()); |
DCHECK_EQ(*isolate()->object_function(), *value); |