Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index e7e88c94d6cbe0318e49ddd63b1e4e8b957514f6..17c73874ac72c40b0fbb8be2ab0b0ee94bc3f868 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -1,4 +1,4 @@ |
-// Copyright 2011 the V8 project authors. All rights reserved. |
+// Copyright 2006-2009 the V8 project authors. All rights reserved. |
// |
// Tests of logging functions from log.h |
@@ -294,7 +294,7 @@ static void CheckThatProfilerWorks(LogBufferMatcher* matcher) { |
TEST(ProfLazyMode) { |
ScopedLoggerInitializer initialize_logger(true); |
- if (i::FLAG_always_full_compiler) return; |
+ if (!i::V8::UseCrankshaft()) return; |
// No sampling should happen prior to resuming profiler unless we |
// are runtime profiling. |