Index: src/ia32/lithium-ia32.cc |
=================================================================== |
--- src/ia32/lithium-ia32.cc (revision 8347) |
+++ src/ia32/lithium-ia32.cc (working copy) |
@@ -1106,13 +1106,9 @@ |
return new LIsObjectAndBranch(UseRegisterAtStart(compare->value()), |
temp1, |
temp2); |
- } else if (v->IsCompareJSObjectEq()) { |
- HCompareJSObjectEq* compare = HCompareJSObjectEq::cast(v); |
- return new LCmpJSObjectEqAndBranch(UseRegisterAtStart(compare->left()), |
- UseRegisterAtStart(compare->right())); |
- } else if (v->IsCompareSymbolEq()) { |
- HCompareSymbolEq* compare = HCompareSymbolEq::cast(v); |
- return new LCmpSymbolEqAndBranch(UseRegisterAtStart(compare->left()), |
+ } else if (v->IsCompareObjectEq()) { |
+ HCompareObjectEq* compare = HCompareObjectEq::cast(v); |
+ return new LCmpObjectEqAndBranch(UseRegisterAtStart(compare->left()), |
UseRegisterAtStart(compare->right())); |
} else if (v->IsCompareConstantEq()) { |
HCompareConstantEq* compare = HCompareConstantEq::cast(v); |
@@ -1528,24 +1524,14 @@ |
} |
-LInstruction* LChunkBuilder::DoCompareJSObjectEq( |
- HCompareJSObjectEq* instr) { |
+LInstruction* LChunkBuilder::DoCompareObjectEq(HCompareObjectEq* instr) { |
LOperand* left = UseRegisterAtStart(instr->left()); |
LOperand* right = UseRegisterAtStart(instr->right()); |
- LCmpJSObjectEq* result = new LCmpJSObjectEq(left, right); |
+ LCmpObjectEq* result = new LCmpObjectEq(left, right); |
return DefineAsRegister(result); |
} |
-LInstruction* LChunkBuilder::DoCompareSymbolEq( |
- HCompareSymbolEq* instr) { |
- LOperand* left = UseRegisterAtStart(instr->left()); |
- LOperand* right = UseRegisterAtStart(instr->right()); |
- LCmpSymbolEq* result = new LCmpSymbolEq(left, right); |
- return DefineAsRegister(result); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoCompareConstantEq( |
HCompareConstantEq* instr) { |
LOperand* left = UseRegisterAtStart(instr->value()); |