Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 536dd9cb3a8af8435330eefdae411dded24d260b..5585d7f01be9f6536f3f208b29158f16c6dad199 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -367,7 +367,9 @@ TEST(HeapSnapshotCodeObjects) { |
} |
} |
CHECK(compiled_references_x); |
- CHECK(!lazy_references_x); |
+ if (i::FLAG_lazy && !(i::FLAG_ignition && i::FLAG_ignition_eager)) { |
+ CHECK(!lazy_references_x); |
+ } |
} |