Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 59b695c6f7803d74e0dd4b508d8d0aae2598ff13..1325eeb67bb33c17a5fb62c703d5bff911b55204 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -180,7 +180,7 @@ RUNTIME_FUNCTION(Runtime_GetOptimizationStatus) { |
base::OS::Sleep(base::TimeDelta::FromMilliseconds(50)); |
} |
} |
- if (FLAG_always_opt) { |
+ if (FLAG_always_opt || FLAG_prepare_always_opt) { |
// With --always-opt, optimization status expectations might not |
// match up, so just return a sentinel. |
return Smi::FromInt(3); // 3 == "always". |