[fix] Properly use CHECK instead of DCHECK.
Cleanup for 562663d545
.
Bug: v8:6702
Change-Id: I7fbacbe6e4b52dc56d810cab3123b497329be3ca
Tbr: jarin@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/641874
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47698}
This commit is contained in:
parent
562663d545
commit
8efc5f0425
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user