Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index 8ed8a490c4dc3dc2c0155384f90178924c1709b5..414061d8e3682a843b07ec96f3e8dd0eb2714ea2 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -3596,25 +3596,6 @@ void LCodeGen::DoCallWithDescriptor(LCallWithDescriptor* instr) { |
} |
-void LCodeGen::DoCallJSFunction(LCallJSFunction* instr) { |
- DCHECK(ToRegister(instr->function()).is(a1)); |
- DCHECK(ToRegister(instr->result()).is(v0)); |
- |
- // Change context. |
- __ lw(cp, FieldMemOperand(a1, JSFunction::kContextOffset)); |
- |
- // Always initialize new target and number of actual arguments. |
- __ LoadRoot(a3, Heap::kUndefinedValueRootIndex); |
- __ li(a0, Operand(instr->arity())); |
- |
- // Load the code entry address |
- __ lw(at, FieldMemOperand(a1, JSFunction::kCodeEntryOffset)); |
- __ Call(at); |
- |
- RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT); |
-} |
- |
- |
void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
DCHECK(ToRegister(instr->constructor()).is(a1)); |