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 <kilvadyb@homejinni.com>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21369 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1757706cb9
commit
13af2c0598
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user