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) { |
Michael Starzinger
2016/03/24 13:27:14
nit: Can we also check for "FLAG_ignition_eager" h
rmcilroy
2016/03/24 13:48:25
Missed this, good catch, thanks. Done
|
+ CHECK(!lazy_references_x); |
+ } |
} |