Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index db8c3e403452e5875406e1572b519314164cb817..0cc68eb44270632d7758bcd0d0d95c6b4fd26b37 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -368,7 +368,7 @@ TEST(ObjectGroups) { |
Handle<HeapObject>::cast(g1s1).location(), g1_children, 1); |
global_handles->AddObjectGroup(g2_objects, 2, NULL); |
global_handles->AddImplicitReferences( |
- Handle<HeapObject>::cast(g2s2).location(), g2_children, 1); |
+ Handle<HeapObject>::cast(g2s1).location(), g2_children, 1); |
} |
// Do a full GC |
HEAP->CollectGarbage(OLD_POINTER_SPACE); |
@@ -397,7 +397,7 @@ TEST(ObjectGroups) { |
Handle<HeapObject>::cast(g1s1).location(), g1_children, 1); |
global_handles->AddObjectGroup(g2_objects, 2, NULL); |
global_handles->AddImplicitReferences( |
- Handle<HeapObject>::cast(g2s2).location(), g2_children, 1); |
+ Handle<HeapObject>::cast(g2s1).location(), g2_children, 1); |
} |
HEAP->CollectGarbage(OLD_POINTER_SPACE); |