Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 99fa337e3b2edf4faedc3e66a7ac4f64a5c68e8c..775c65ed242d28402175fdcba8650b848d6ed07e 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -350,8 +350,7 @@ void Map::VerifyOmittedMapChecks() { |
if (!is_stable() || |
is_deprecated() || |
is_dictionary_map()) { |
- CHECK_EQ(0, dependent_code()->number_of_entries( |
- DependentCode::kPrototypeCheckGroup)); |
+ CHECK(dependent_code()->IsEmpty(DependentCode::kPrototypeCheckGroup)); |
} |
} |