Index: src/arm/lithium-codegen-arm.cc |
=================================================================== |
--- src/arm/lithium-codegen-arm.cc (revision 8347) |
+++ src/arm/lithium-codegen-arm.cc (working copy) |
@@ -1714,7 +1714,7 @@ |
} |
-void LCodeGen::DoCmpJSObjectEq(LCmpJSObjectEq* instr) { |
+void LCodeGen::DoCmpObjectEq(LCmpObjectEq* instr) { |
Register left = ToRegister(instr->InputAt(0)); |
Register right = ToRegister(instr->InputAt(1)); |
Register result = ToRegister(instr->result()); |
@@ -1725,7 +1725,7 @@ |
} |
-void LCodeGen::DoCmpJSObjectEqAndBranch(LCmpJSObjectEqAndBranch* instr) { |
+void LCodeGen::DoCmpObjectEqAndBranch(LCmpObjectEqAndBranch* instr) { |
Register left = ToRegister(instr->InputAt(0)); |
Register right = ToRegister(instr->InputAt(1)); |
int false_block = chunk_->LookupDestination(instr->false_block_id()); |
@@ -1736,28 +1736,6 @@ |
} |
-void LCodeGen::DoCmpSymbolEq(LCmpSymbolEq* instr) { |
- Register left = ToRegister(instr->InputAt(0)); |
- Register right = ToRegister(instr->InputAt(1)); |
- Register result = ToRegister(instr->result()); |
- |
- __ cmp(left, Operand(right)); |
- __ LoadRoot(result, Heap::kTrueValueRootIndex, eq); |
- __ LoadRoot(result, Heap::kFalseValueRootIndex, ne); |
-} |
- |
- |
-void LCodeGen::DoCmpSymbolEqAndBranch(LCmpSymbolEqAndBranch* instr) { |
- Register left = ToRegister(instr->InputAt(0)); |
- Register right = ToRegister(instr->InputAt(1)); |
- int false_block = chunk_->LookupDestination(instr->false_block_id()); |
- int true_block = chunk_->LookupDestination(instr->true_block_id()); |
- |
- __ cmp(left, Operand(right)); |
- EmitBranch(true_block, false_block, eq); |
-} |
- |
- |
void LCodeGen::DoCmpConstantEq(LCmpConstantEq* instr) { |
Register left = ToRegister(instr->InputAt(0)); |
Register result = ToRegister(instr->result()); |