Index: src/ia32/lithium-codegen-ia32.cc |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.cc (revision 8207) |
+++ src/ia32/lithium-codegen-ia32.cc (working copy) |
@@ -2009,18 +2009,6 @@ |
} |
-void LCodeGen::DoInstanceOfAndBranch(LInstanceOfAndBranch* instr) { |
- ASSERT(ToRegister(instr->context()).is(esi)); |
- 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, CONTEXT_ADJUSTED); |
- __ test(eax, Operand(eax)); |
- EmitBranch(true_block, false_block, zero); |
-} |
- |
- |
void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) { |
class DeferredInstanceOfKnownGlobal: public LDeferredCode { |
public: |
@@ -2160,25 +2148,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, RESTORE_CONTEXT); |
- |
- // 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); |
- } |
- __ test(eax, Operand(eax)); |
- 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 call |