From 8efc5f0425cf9c97ff4a0ac0f285f36422a36bd8 Mon Sep 17 00:00:00 2001 From: Benedikt Meurer Date: Wed, 30 Aug 2017 07:55:47 +0200 Subject: [PATCH] [fix] Properly use CHECK instead of DCHECK. Cleanup for 562663d545bc1838ce1712d49fa389358985d706. Bug: v8:6702 Change-Id: I7fbacbe6e4b52dc56d810cab3123b497329be3ca Tbr: jarin@chromium.org Reviewed-on: https://chromium-review.googlesource.com/641874 Reviewed-by: Benedikt Meurer Cr-Commit-Position: refs/heads/master@{#47698} --- src/objects-debug.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/objects-debug.cc b/src/objects-debug.cc index 7e20690b85..41eb315211 100644 --- a/src/objects-debug.cc +++ b/src/objects-debug.cc @@ -375,9 +375,9 @@ void JSObject::JSObjectVerify() { EnumCache* enum_cache = descriptors->GetEnumCache(); FixedArray* keys = enum_cache->keys(); FixedArray* indices = enum_cache->indices(); - DCHECK_LE(map()->EnumLength(), keys->length()); - DCHECK_IMPLIES(indices != isolate->heap()->empty_fixed_array(), - keys->length() == indices->length()); + CHECK_LE(map()->EnumLength(), keys->length()); + CHECK_IMPLIES(indices != isolate->heap()->empty_fixed_array(), + keys->length() == indices->length()); } }