Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index ef53fbc82a350eb03bca5bd7b25820793d8b6ef1..4634fcc9d42c3d16b02221a30b1c8439d4aaae4a 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -3639,25 +3639,6 @@ void LCodeGen::DoCallWithDescriptor(LCallWithDescriptor* instr) { |
} |
-void LCodeGen::DoCallJSFunction(LCallJSFunction* instr) { |
- DCHECK(ToRegister(instr->function()).is(r1)); |
- DCHECK(ToRegister(instr->result()).is(r0)); |
- |
- // Change context. |
- __ ldr(cp, FieldMemOperand(r1, JSFunction::kContextOffset)); |
- |
- // Always initialize new target and number of actual arguments. |
- __ LoadRoot(r3, Heap::kUndefinedValueRootIndex); |
- __ mov(r0, Operand(instr->arity())); |
- |
- // Load the code entry address |
- __ ldr(ip, FieldMemOperand(r1, JSFunction::kCodeEntryOffset)); |
- __ Call(ip); |
- |
- RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT); |
-} |
- |
- |
void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
DCHECK(ToRegister(instr->constructor()).is(r1)); |