Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index c12a12a6bcd9bef8c673712d235bbb4ecb48d3fd..b24c933e439531c74fcf62e0c0c1b41805d37844 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3669,6 +3669,12 @@ bool Map::CanOmitPrototypeChecks() { |
} |
+bool Map::CanOmitCheckMaps() { |
+ return !HasTransitionArray() && !is_dictionary_map() && |
+ FLAG_omit_check_maps_for_leaf_maps; |
+} |
+ |
+ |
int DependentCode::number_of_entries(DependencyGroup group) { |
if (length() == 0) return 0; |
return Smi::cast(get(group))->value(); |