MIPS: Make assert more accurate
Port r16147 (1ced433a) BUG= Review URL: https://codereview.chromium.org/22956002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16164 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
b1a1d5bbcb
commit
d2129c0df1
@ -1628,9 +1628,8 @@ LInstruction* LChunkBuilder::DoCompareNumericAndBranch(
|
|||||||
HCompareNumericAndBranch* instr) {
|
HCompareNumericAndBranch* instr) {
|
||||||
Representation r = instr->representation();
|
Representation r = instr->representation();
|
||||||
if (r.IsSmiOrInteger32()) {
|
if (r.IsSmiOrInteger32()) {
|
||||||
ASSERT(instr->left()->representation().IsSmiOrInteger32());
|
ASSERT(instr->left()->representation().Equals(r));
|
||||||
ASSERT(instr->left()->representation().Equals(
|
ASSERT(instr->right()->representation().Equals(r));
|
||||||
instr->right()->representation()));
|
|
||||||
LOperand* left = UseRegisterOrConstantAtStart(instr->left());
|
LOperand* left = UseRegisterOrConstantAtStart(instr->left());
|
||||||
LOperand* right = UseRegisterOrConstantAtStart(instr->right());
|
LOperand* right = UseRegisterOrConstantAtStart(instr->right());
|
||||||
return new(zone()) LCompareNumericAndBranch(left, right);
|
return new(zone()) LCompareNumericAndBranch(left, right);
|
||||||
|
Loading…
Reference in New Issue
Block a user