Revision: 11459
Author:   [email protected]
Date:     Fri Apr 27 05:57:01 2012
Log:      MIPS: Removed unused variables.

These were found by compilation errors with gcc 4.6.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10253004
Patch from Daniel Kalmar <[email protected]>.
http://code.google.com/p/v8/source/detail?r=11459

Modified:
 /branches/bleeding_edge/src/mips/code-stubs-mips.cc
 /branches/bleeding_edge/src/mips/full-codegen-mips.cc
 /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc
 /branches/bleeding_edge/src/mips/lithium-mips.cc
 /branches/bleeding_edge/src/mips/stub-cache-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/code-stubs-mips.cc Fri Apr 20 05:51:08 2012 +++ /branches/bleeding_edge/src/mips/code-stubs-mips.cc Fri Apr 27 05:57:01 2012
@@ -2754,7 +2754,6 @@
   Register left = a1;
   Register right = a0;
   Register scratch1 = t3;
-  Register scratch2 = t5;

   // Perform combined smi check on both operands.
   __ Or(scratch1, left, Operand(right));
@@ -3459,7 +3458,6 @@

     Label no_update;
     Label skip_cache;
-    const Register heap_number_map = t2;

     // Call C function to calculate the result and update the cache.
     // Register a0 holds precalculated cache entry address; preserve
=======================================
--- /branches/bleeding_edge/src/mips/full-codegen-mips.cc Fri Apr 20 05:51:08 2012 +++ /branches/bleeding_edge/src/mips/full-codegen-mips.cc Fri Apr 27 05:57:01 2012
@@ -3750,7 +3750,6 @@
   Register scratch1 = t3;
   Register scratch2 = t5;
   Register scratch3 = t4;
-  Register scratch4 = v1;

   // Separator operand is on the stack.
   __ pop(separator);
=======================================
--- /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Wed Apr 18 03:42:30 2012 +++ /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Fri Apr 27 05:57:01 2012
@@ -2832,7 +2832,6 @@


 void LCodeGen::DoGlobalObject(LGlobalObject* instr) {
-  Register context = ToRegister(instr->context());
   Register result = ToRegister(instr->result());
   __ lw(result, ContextOperand(cp, Context::GLOBAL_INDEX));
 }
@@ -4156,7 +4155,6 @@
   Register scratch1 = scratch0();
   Register scratch2 = ToRegister(instr->TempAt(0));
   DoubleRegister double_input = ToDoubleRegister(instr->InputAt(0));
-  DoubleRegister double_scratch = double_scratch0();
   FPURegister single_scratch = double_scratch0().low();

   if (instr->truncating()) {
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Thu Apr 26 05:43:00 2012 +++ /branches/bleeding_edge/src/mips/lithium-mips.cc Fri Apr 27 05:57:01 2012
@@ -1442,7 +1442,6 @@


 LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) {
-  Representation r = instr->GetInputRepresentation();
   ASSERT(instr->left()->representation().IsTagged());
   ASSERT(instr->right()->representation().IsTagged());
   LOperand* left = UseFixed(instr->left(), a1);
=======================================
--- /branches/bleeding_edge/src/mips/stub-cache-mips.cc Fri Apr 13 06:43:19 2012 +++ /branches/bleeding_edge/src/mips/stub-cache-mips.cc Fri Apr 27 05:57:01 2012
@@ -1176,9 +1176,8 @@
   __ JumpIfSmi(receiver, miss, scratch1);

   // Check that the maps haven't changed.
-  Register reg =
-      CheckPrototypes(object, receiver, holder,
-                      scratch1, scratch2, scratch3, name, miss);
+  CheckPrototypes(object, receiver, holder,
+                  scratch1, scratch2, scratch3, name, miss);

   // Return the constant value.
   __ LoadHeapObject(v0, value);
@@ -4273,7 +4272,6 @@
   Register elements_reg = a3;
   Register length_reg = t1;
   Register scratch2 = t2;
-  Register scratch3 = t3;

   // This stub is meant to be tail-jumped to, the receiver must already
   // have been verified by the caller to not be a smi.

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

Reply via email to