Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 4c6fb4fa3a29dcf21da8b61f77f93b04d69aa40f..e990559bdeeca98b10fa7277e7ca948f43131bfa 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -684,9 +684,8 @@ void Code::VerifyEmbeddedObjectsDependency() { |
if (IsWeakObject(obj)) { |
if (obj->IsMap()) { |
Map* map = Map::cast(obj); |
- DependentCode::DependencyGroup group = is_optimized_code() ? |
- DependentCode::kWeakCodeGroup : DependentCode::kWeakICGroup; |
- CHECK(map->dependent_code()->Contains(group, this)); |
+ CHECK(map->dependent_code()->Contains(DependentCode::kWeakCodeGroup, |
+ this)); |
} else if (obj->IsJSObject()) { |
Object* raw_table = GetIsolate()->heap()->weak_object_to_code_table(); |
WeakHashTable* table = WeakHashTable::cast(raw_table); |