Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index e0cb8c929487b999cb0c4d2b63f3d06f528ab31f..395f95ca7ea98a771ef0af15c282962e9327db53 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -366,12 +366,9 @@ void Map::SharedMapVerify() { |
} |
-void Map::VerifyOmittedMapChecks() { |
- if (!FLAG_omit_map_checks_for_leaf_maps) return; |
- if (!is_stable() || |
- is_deprecated() || |
- HasTransitionArray() || |
- is_dictionary_map()) { |
+void Map::VerifyOmittedPrototypeChecks() { |
+ if (!FLAG_omit_prototype_checks_for_leaf_maps) return; |
+ if (HasTransitionArray() || is_dictionary_map()) { |
CHECK_EQ(0, dependent_code()->number_of_entries( |
DependentCode::kPrototypeCheckGroup)); |
} |