From da2047c4a276a4d0077d00630a391917a7a1fff1 Mon Sep 17 00:00:00 2001 From: Yang Guo Date: Tue, 15 Jan 2019 09:48:08 +0100 Subject: [PATCH] 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 Reviewed-by: Maya Lekova Cr-Commit-Position: refs/heads/master@{#58812} --- src/bootstrapper.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc index 7c7b8e1ab0..e970f5d2f3 100644 --- a/src/bootstrapper.cc +++ b/src/bootstrapper.cc @@ -5446,13 +5446,6 @@ static bool PropertyAlreadyExists(Isolate* isolate, Handle to, Handle 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(); }