Index: src/x64/lithium-codegen-x64.cc |
=================================================================== |
--- src/x64/lithium-codegen-x64.cc (revision 8207) |
+++ src/x64/lithium-codegen-x64.cc (working copy) |
@@ -2014,19 +2014,6 @@ |
} |
-void LCodeGen::DoInstanceOfAndBranch(LInstanceOfAndBranch* instr) { |
- int true_block = chunk_->LookupDestination(instr->true_block_id()); |
- int false_block = chunk_->LookupDestination(instr->false_block_id()); |
- |
- InstanceofStub stub(InstanceofStub::kNoFlags); |
- __ push(ToRegister(instr->InputAt(0))); |
- __ push(ToRegister(instr->InputAt(1))); |
- CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
- __ testq(rax, rax); |
- EmitBranch(true_block, false_block, zero); |
-} |
- |
- |
void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) { |
class DeferredInstanceOfKnownGlobal: public LDeferredCode { |
public: |
@@ -2158,25 +2145,6 @@ |
} |
-void LCodeGen::DoCmpTAndBranch(LCmpTAndBranch* instr) { |
- Token::Value op = instr->op(); |
- int true_block = chunk_->LookupDestination(instr->true_block_id()); |
- int false_block = chunk_->LookupDestination(instr->false_block_id()); |
- |
- Handle<Code> ic = CompareIC::GetUninitialized(op); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
- |
- // The compare stub expects compare condition and the input operands |
- // reversed for GT and LTE. |
- Condition condition = TokenToCondition(op, false); |
- if (op == Token::GT || op == Token::LTE) { |
- condition = ReverseCondition(condition); |
- } |
- __ testq(rax, rax); |
- EmitBranch(true_block, false_block, condition); |
-} |
- |
- |
void LCodeGen::DoReturn(LReturn* instr) { |
if (FLAG_trace) { |
// Preserve the return value on the stack and rely on the runtime |