Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index f09432e8c16f0d3c6624b5009e6d79e9913f3c60..a0a06444dec2a1ab36c4876e3fa81f6f25f7381a 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -2657,8 +2657,8 @@ TEST(InstanceOfStubWriteBarrier) { |
namespace { |
int GetProfilerTicks(SharedFunctionInfo* shared) { |
- return FLAG_ignition ? shared->profiler_ticks() |
- : shared->code()->profiler_ticks(); |
+ return FLAG_ignition || FLAG_turbo ? shared->profiler_ticks() |
+ : shared->code()->profiler_ticks(); |
} |
} // namespace |