Revision: 10974
Author:   [email protected]
Date:     Fri Mar  9 01:04:39 2012
Log:      Revert r10435 and r10923 because of failures.

r10435 CL: http://codereview.chromium.org/9195005
r10923 CL: https://chromiumcodereview.appspot.com/9601010

[email protected]

Review URL: https://chromiumcodereview.appspot.com/9653025
http://code.google.com/p/v8/source/detail?r=10974

Modified:
 /branches/bleeding_edge/src/flag-definitions.h
 /branches/bleeding_edge/src/hydrogen.cc

=======================================
--- /branches/bleeding_edge/src/flag-definitions.h      Thu Mar  8 05:03:07 2012
+++ /branches/bleeding_edge/src/flag-definitions.h      Fri Mar  9 01:04:39 2012
@@ -168,7 +168,7 @@
 DEFINE_bool(trace_osr, false, "trace on-stack replacement")
 DEFINE_int(stress_runs, 0, "number of stress runs")
 DEFINE_bool(optimize_closures, true, "optimize closures")
-DEFINE_bool(inline_construct, true, "inline constructor calls")
+DEFINE_bool(inline_construct, false, "inline constructor calls")
 DEFINE_int(loop_weight, 1, "loop weight for representation inference")

 DEFINE_bool(optimize_for_in, true,
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc     Wed Mar  7 04:04:28 2012
+++ /branches/bleeding_edge/src/hydrogen.cc     Fri Mar  9 01:04:39 2012
@@ -6652,15 +6652,6 @@
   return MatchLiteralCompareNil(left, op, right, nil, expr) ||
       MatchLiteralCompareNil(right, op, left, nil, expr);
 }
-
-
-static bool IsLiteralCompareBool(HValue* left,
-                                 Token::Value op,
-                                 HValue* right) {
-  return op == Token::EQ_STRICT &&
- ((left->IsConstant() && HConstant::cast(left)->handle()->IsBoolean()) || - (right->IsConstant() && HConstant::cast(right)->handle()->IsBoolean()));
-}


 void HGraphBuilder::VisitCompareOperation(CompareOperation* expr) {
@@ -6710,12 +6701,6 @@
   if (IsLiteralCompareNil(left, op, right, f->null_value(), &sub_expr)) {
     return HandleLiteralCompareNil(expr, sub_expr, kNullValue);
   }
-  if (IsLiteralCompareBool(left, op, right)) {
-    HCompareObjectEqAndBranch* result =
-        new(zone()) HCompareObjectEqAndBranch(left, right);
-    result->set_position(expr->position());
-    return ast_context()->ReturnControl(result, expr->id());
-  }

   if (op == Token::INSTANCEOF) {
     // Check to see if the rhs of the instanceof is a global function not

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to