Index: test/cctest/test-inobject-slack-tracking.cc |
diff --git a/test/cctest/test-inobject-slack-tracking.cc b/test/cctest/test-inobject-slack-tracking.cc |
index 5cc4e94a028735ef177c0bbc20a5f7ab70042a2c..004781ab41c40d466429f3427629dff8af642243 100644 |
--- a/test/cctest/test-inobject-slack-tracking.cc |
+++ b/test/cctest/test-inobject-slack-tracking.cc |
@@ -612,6 +612,8 @@ static void TestClassHierarchy(const std::vector<int>& hierarchy_desc, int n) { |
Handle<JSObject> tmp = Run<JSObject>(new_script); |
CHECK_EQ(initial_map->IsInobjectSlackTrackingInProgress(), |
IsObjectShrinkable(*tmp)); |
+ CHECK_EQ(Map::kSlackTrackingCounterStart - i - 1, |
+ initial_map->construction_counter()); |
} |
CHECK(!initial_map->IsInobjectSlackTrackingInProgress()); |
CHECK(!IsObjectShrinkable(*obj)); |