Commit da2047c4 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Remove warning in the bootstrapper.

R=mslekova@chromium.org
NOTRY=true

Change-Id: I6150e2fe7e55d7aad61875ae092e1c9109839256
Reviewed-on: https://chromium-review.googlesource.com/c/1411632
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58812}
parent d7abdfcb
......@@ -5446,13 +5446,6 @@ static bool PropertyAlreadyExists(Isolate* isolate, Handle<JSObject> to,
Handle<Name> key) {
LookupIterator it(isolate, to, key, LookupIterator::OWN_SKIP_INTERCEPTOR);
CHECK_NE(LookupIterator::ACCESS_CHECK, it.state());
#ifdef DEBUG
if (it.IsFound()) {
PrintF(stderr, "Duplicate property when initializing global object: ");
key->ShortPrint();
PrintF("\n");
}
#endif // DEBUG
return it.IsFound();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment