| Index: src/runtime/runtime-test.cc
|
| diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc
|
| index ddf2e9d6b46a6c7b6b848ae9754f293ef27381f2..f590f81a2d87b236b5e88eb80f5c681065e936c0 100644
|
| --- a/src/runtime/runtime-test.cc
|
| +++ b/src/runtime/runtime-test.cc
|
| @@ -179,7 +179,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".
|
|
|