Index: src/api.cc |
=================================================================== |
--- src/api.cc (revision 10640) |
+++ src/api.cc (working copy) |
@@ -6088,9 +6088,7 @@ |
void Testing::PrepareStressRun(int run) { |
static const char* kLazyOptimizations = |
- "--prepare-always-opt --nolimit-inlining " |
- "--noalways-opt --noopt-eagerly"; |
- static const char* kEagerOptimizations = "--opt-eagerly"; |
+ "--prepare-always-opt --nolimit-inlining --noalways-opt"; |
static const char* kForcedOptimizations = "--always-opt"; |
// If deoptimization stressed turn on frequent deoptimization. If no value |
@@ -6107,15 +6105,12 @@ |
if (run == GetStressRuns() - 1) { |
SetFlagsFromString(kForcedOptimizations); |
} else { |
- SetFlagsFromString(kEagerOptimizations); |
SetFlagsFromString(kLazyOptimizations); |
} |
#else |
if (run == GetStressRuns() - 1) { |
SetFlagsFromString(kForcedOptimizations); |
- } else if (run == GetStressRuns() - 2) { |
- SetFlagsFromString(kEagerOptimizations); |
- } else { |
+ } else if (run != GetStressRuns() - 2) { |
SetFlagsFromString(kLazyOptimizations); |
} |
#endif |