Reviewers: danno, Sven Panne, Paul Lind, kisg, palfia, dusmil,

Description:
MIPS: Allow comparison in UINT32 mode.

Port r21355 (932c5de)

Original commit message:
Shamelessly based on parts of https://codereview.chromium.org/288853003/. :-)

BUG=

Please review this at https://codereview.chromium.org/296453003/

SVN Base: https://github.com/v8/v8.git@gbl

Affected files (+1, -1 lines):
  M src/mips/lithium-codegen-mips.cc


Index: src/mips/lithium-codegen-mips.cc
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc index 3419ad0b44aedef6069968af0481ad24fc08ce34..b5d8fa85dc7f793e5250cb25146412e4fbb59bc4 100644
--- a/src/mips/lithium-codegen-mips.cc
+++ b/src/mips/lithium-codegen-mips.cc
@@ -2271,7 +2271,7 @@ void LCodeGen::DoCompareNumericAndBranch(LCompareNumericAndBranch* instr) {
   LOperand* left = instr->left();
   LOperand* right = instr->right();
   bool is_unsigned = instr->hydrogen()->CheckFlag(HInstruction::kUint32);
-  Condition cc = TokenToCondition(instr->op(), is_unsigned);
+  Condition cond = TokenToCondition(instr->op(), is_unsigned);

   if (left->IsConstantOperand() && right->IsConstantOperand()) {
     // We can statically evaluate the comparison.


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to