| Index: src/mips/lithium-mips.cc
|
| diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
|
| index 8c64ebe6e73278d23e600953eaf10e21afd00a6f..0a7fb446f9b0a9227889b9e325865bfe9b18ea6c 100644
|
| --- a/src/mips/lithium-mips.cc
|
| +++ b/src/mips/lithium-mips.cc
|
| @@ -187,7 +187,7 @@ LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) {
|
| }
|
|
|
|
|
| -void LCmpIDAndBranch::PrintDataTo(StringStream* stream) {
|
| +void LCompareNumericAndBranch::PrintDataTo(StringStream* stream) {
|
| stream->Add("if ");
|
| left()->PrintTo(stream);
|
| stream->Add(" %s ", Token::String(op()));
|
| @@ -1606,8 +1606,8 @@ LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) {
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoCompareIDAndBranch(
|
| - HCompareIDAndBranch* instr) {
|
| +LInstruction* LChunkBuilder::DoCompareNumericAndBranch(
|
| + HCompareNumericAndBranch* instr) {
|
| Representation r = instr->representation();
|
| if (r.IsSmiOrInteger32()) {
|
| ASSERT(instr->left()->representation().IsSmiOrInteger32());
|
| @@ -1615,14 +1615,14 @@ LInstruction* LChunkBuilder::DoCompareIDAndBranch(
|
| instr->right()->representation()));
|
| LOperand* left = UseRegisterOrConstantAtStart(instr->left());
|
| LOperand* right = UseRegisterOrConstantAtStart(instr->right());
|
| - return new(zone()) LCmpIDAndBranch(left, right);
|
| + return new(zone()) LCompareNumericAndBranch(left, right);
|
| } else {
|
| ASSERT(r.IsDouble());
|
| ASSERT(instr->left()->representation().IsDouble());
|
| ASSERT(instr->right()->representation().IsDouble());
|
| LOperand* left = UseRegisterAtStart(instr->left());
|
| LOperand* right = UseRegisterAtStart(instr->right());
|
| - return new(zone()) LCmpIDAndBranch(left, right);
|
| + return new(zone()) LCompareNumericAndBranch(left, right);
|
| }
|
| }
|
|
|
|
|