Revision: 10641
Author: [email protected]
Date: Wed Feb 8 04:49:04 2012
Log: Remove remaining occurrences of the unused --opt-eagerly flag.
Fix a lint error.
Review URL: https://chromiumcodereview.appspot.com/9365015
http://code.google.com/p/v8/source/detail?r=10641
Modified:
/branches/bleeding_edge/src/api.cc
/branches/bleeding_edge/src/hydrogen.cc
=======================================
--- /branches/bleeding_edge/src/api.cc Fri Feb 3 06:16:40 2012
+++ /branches/bleeding_edge/src/api.cc Wed Feb 8 04:49:04 2012
@@ -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
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Wed Feb 8 04:08:46 2012
+++ /branches/bleeding_edge/src/hydrogen.cc Wed Feb 8 04:49:04 2012
@@ -5468,7 +5468,7 @@
CHECK_ALIVE(VisitExpressions(expr->arguments()));
AddInstruction(new(zone()) HCheckFunction(function, expr->target()));
- if (TryInlineBuiltinFunctionCall(expr, true)) { // Drop the function.
+ if (TryInlineBuiltinFunctionCall(expr, true)) { // Drop the
function.
if (FLAG_trace_inlining) {
PrintF("Inlining builtin ");
expr->target()->ShortPrint();
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev