| Index: src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| index db1fe213a48754f9e8ebcdf0ce6b1d89934ee8f0..af31399d1fef14e3d441fdd3d63fc18b3637126b 100644
|
| --- a/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| @@ -3823,36 +3823,6 @@ void LCodeGen::DoCallWithDescriptor(LCallWithDescriptor* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoCallJSFunction(LCallJSFunction* instr) {
|
| - DCHECK(ToRegister(instr->function()).is(r4));
|
| - DCHECK(ToRegister(instr->result()).is(r3));
|
| -
|
| - // Change context.
|
| - __ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset));
|
| -
|
| - // Always initialize new target and number of actual arguments.
|
| - __ LoadRoot(r6, Heap::kUndefinedValueRootIndex);
|
| - __ mov(r3, Operand(instr->arity()));
|
| -
|
| - bool is_self_call = false;
|
| - if (instr->hydrogen()->function()->IsConstant()) {
|
| - HConstant* fun_const = HConstant::cast(instr->hydrogen()->function());
|
| - Handle<JSFunction> jsfun =
|
| - Handle<JSFunction>::cast(fun_const->handle(isolate()));
|
| - is_self_call = jsfun.is_identical_to(info()->closure());
|
| - }
|
| -
|
| - if (is_self_call) {
|
| - __ CallSelf();
|
| - } else {
|
| - __ LoadP(ip, FieldMemOperand(r4, JSFunction::kCodeEntryOffset));
|
| - __ CallJSEntry(ip);
|
| - }
|
| -
|
| - RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT);
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoCallNewArray(LCallNewArray* instr) {
|
| DCHECK(ToRegister(instr->context()).is(cp));
|
| DCHECK(ToRegister(instr->constructor()).is(r4));
|
|
|