Chromium Code Reviews| 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..a68868c8398a273b126ec257d7278f5f0932c694 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) { |
| + CHECK(!lazy_references_x); |
| + } |
| } |