Reviewers: Jakob,

Description:
Make newer GCCs happier: Removed unused variables.

Please review this at http://codereview.chromium.org/7969014/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/ia32/full-codegen-ia32.cc
  M     src/mips/full-codegen-mips.cc
  M     src/x64/full-codegen-x64.cc


Index: src/ia32/full-codegen-ia32.cc
===================================================================
--- src/ia32/full-codegen-ia32.cc       (revision 9332)
+++ src/ia32/full-codegen-ia32.cc       (working copy)
@@ -4097,11 +4097,8 @@
     default: {
       VisitForAccumulatorValue(expr->right());
       Condition cc = no_condition;
-      bool strict = false;
       switch (op) {
         case Token::EQ_STRICT:
-          strict = true;
-          // Fall through
         case Token::EQ:
           cc = equal;
           __ pop(edx);
Index: src/mips/full-codegen-mips.cc
===================================================================
--- src/mips/full-codegen-mips.cc       (revision 9332)
+++ src/mips/full-codegen-mips.cc       (working copy)
@@ -4050,11 +4050,8 @@
     default: {
       VisitForAccumulatorValue(expr->right());
       Condition cc = eq;
-      bool strict = false;
       switch (op) {
         case Token::EQ_STRICT:
-          strict = true;
-          // Fall through.
         case Token::EQ:
           cc = eq;
           __ mov(a0, result_register());
Index: src/x64/full-codegen-x64.cc
===================================================================
--- src/x64/full-codegen-x64.cc (revision 9332)
+++ src/x64/full-codegen-x64.cc (working copy)
@@ -3972,7 +3972,6 @@
       Condition cc = no_condition;
       switch (op) {
         case Token::EQ_STRICT:
-          // Fall through.
         case Token::EQ:
           cc = equal;
           __ pop(rdx);


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

Reply via email to