Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index c16ada1afbf3a49bb40722a0b18841f9b7288c58..1934e0a770dade7f5238f75a8880d2f94f867e16 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -201,7 +201,7 @@ void LBranch::PrintDataTo(StringStream* stream) { |
} |
-void LCmpIDAndBranch::PrintDataTo(StringStream* stream) { |
+void LCompareNumericAndBranch::PrintDataTo(StringStream* stream) { |
stream->Add("if "); |
left()->PrintTo(stream); |
stream->Add(" %s ", Token::String(op())); |
@@ -1705,8 +1705,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()); |
@@ -1714,7 +1714,7 @@ LInstruction* LChunkBuilder::DoCompareIDAndBranch( |
instr->right()->representation())); |
LOperand* left = UseRegisterOrConstantAtStart(instr->left()); |
LOperand* right = UseOrConstantAtStart(instr->right()); |
- return new(zone()) LCmpIDAndBranch(left, right); |
+ return new(zone()) LCompareNumericAndBranch(left, right); |
} else { |
ASSERT(r.IsDouble()); |
ASSERT(instr->left()->representation().IsDouble()); |
@@ -1728,7 +1728,7 @@ LInstruction* LChunkBuilder::DoCompareIDAndBranch( |
left = UseRegisterAtStart(instr->left()); |
right = UseRegisterAtStart(instr->right()); |
} |
- return new(zone()) LCmpIDAndBranch(left, right); |
+ return new(zone()) LCompareNumericAndBranch(left, right); |
} |
} |