Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index c7983b7256651260fd69ea4e9f5d410d7f2e93b1..1020d5d1946aedc65dfbd1db3ee4d0cfa48cbcef 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 |