Version 3.17.3
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@13712 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 8c7a944..fe707c7 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -329,6 +329,15 @@
}
+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));
+ }
+}
+
+
void CodeCache::CodeCacheVerify() {
VerifyHeapPointer(default_cache());
VerifyHeapPointer(normal_type_cache());
@@ -604,7 +613,8 @@
it.rinfo()->target_object()->IsMap()) {
Map* map = Map::cast(it.rinfo()->target_object());
if (map->CanTransition()) {
- CHECK(map->dependent_codes()->Contains(this));
+ CHECK(map->dependent_code()->Contains(
+ DependentCode::kWeaklyEmbeddedGroup, this));
}
}
}