Index: src/arm/lithium-codegen-arm.cc |
=================================================================== |
--- src/arm/lithium-codegen-arm.cc (revision 8207) |
+++ src/arm/lithium-codegen-arm.cc (working copy) |
@@ -2150,20 +2150,6 @@ |
} |
-void LCodeGen::DoInstanceOfAndBranch(LInstanceOfAndBranch* instr) { |
- ASSERT(ToRegister(instr->InputAt(0)).is(r0)); // Object is in r0. |
- ASSERT(ToRegister(instr->InputAt(1)).is(r1)); // Function is in r1. |
- |
- int true_block = chunk_->LookupDestination(instr->true_block_id()); |
- int false_block = chunk_->LookupDestination(instr->false_block_id()); |
- |
- InstanceofStub stub(InstanceofStub::kArgsInRegisters); |
- CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
- __ cmp(r0, Operand(0)); |
- EmitBranch(true_block, false_block, eq); |
-} |
- |
- |
void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) { |
class DeferredInstanceOfKnownGlobal: public LDeferredCode { |
public: |
@@ -2318,25 +2304,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 = ComputeCompareCondition(op); |
- if (op == Token::GT || op == Token::LTE) { |
- condition = ReverseCondition(condition); |
- } |
- __ cmp(r0, Operand(0)); |
- EmitBranch(true_block, false_block, condition); |
-} |
- |
- |
void LCodeGen::DoReturn(LReturn* instr) { |
if (FLAG_trace) { |
// Push the return value on the stack as the parameter. |