From 13af2c0598b01e2ea24c149fcbf0494794442745 Mon Sep 17 00:00:00 2001 From: "plind44@gmail.com" Date: Mon, 19 May 2014 15:30:23 +0000 Subject: [PATCH] MIPS: Allow comparison in UINT32 mode. Port r21355 (932c5de) Original commit message: Shamelessly based on parts of https://codereview.chromium.org/288853003/. :-) BUG= R=plind44@gmail.com Review URL: https://codereview.chromium.org/296453003 Patch from Balazs Kilvady . git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21369 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mips/lithium-codegen-mips.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc index 3419ad0b44..b5d8fa85dc 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.