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: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#58812}
This commit is contained in:
parent
d7abdfcb2f
commit
da2047c4a2
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user