| Index: src/x64/lithium-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-codegen-x64.cc (revision 8347)
|
| +++ src/x64/lithium-codegen-x64.cc (working copy)
|
| @@ -1556,7 +1556,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());
|
| @@ -1572,7 +1572,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());
|
| @@ -1583,31 +1583,6 @@
|
| }
|
|
|
|
|
| -void LCodeGen::DoCmpSymbolEq(LCmpSymbolEq* instr) {
|
| - Register left = ToRegister(instr->InputAt(0));
|
| - Register right = ToRegister(instr->InputAt(1));
|
| - Register result = ToRegister(instr->result());
|
| -
|
| - Label done;
|
| - __ cmpq(left, right);
|
| - __ LoadRoot(result, Heap::kFalseValueRootIndex);
|
| - __ j(not_equal, &done, Label::kNear);
|
| - __ LoadRoot(result, Heap::kTrueValueRootIndex);
|
| - __ bind(&done);
|
| -}
|
| -
|
| -
|
| -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());
|
| -
|
| - __ cmpq(left, right);
|
| - EmitBranch(true_block, false_block, equal);
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoCmpConstantEq(LCmpConstantEq* instr) {
|
| Register left = ToRegister(instr->InputAt(0));
|
| Register result = ToRegister(instr->result());
|
|
|