| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index f38479e099325b9a43eed08b237df899bb109dcb..14c3cf70c15aaee937be489f1c774b18bd1720e6 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -3886,39 +3886,6 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitCallFunction(CallRuntime* expr) {
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK(args->length() >= 2);
|
| -
|
| - int arg_count = args->length() - 2; // 2 ~ receiver and function.
|
| - for (int i = 0; i < arg_count + 1; i++) {
|
| - VisitForStackValue(args->at(i));
|
| - }
|
| - VisitForAccumulatorValue(args->last()); // Function.
|
| -
|
| - PrepareForBailoutForId(expr->CallId(), NO_REGISTERS);
|
| - Label runtime, done;
|
| - // Check for non-function argument (including proxy).
|
| - __ JumpIfSmi(v0, &runtime);
|
| - __ GetObjectType(v0, a1, a1);
|
| - __ Branch(&runtime, ne, a1, Operand(JS_FUNCTION_TYPE));
|
| -
|
| - // InvokeFunction requires the function in a1. Move it in there.
|
| - __ mov(a1, result_register());
|
| - ParameterCount count(arg_count);
|
| - __ InvokeFunction(a1, count, CALL_FUNCTION, NullCallWrapper());
|
| - __ ld(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
|
| - __ jmp(&done);
|
| -
|
| - __ bind(&runtime);
|
| - __ push(v0);
|
| - __ CallRuntime(Runtime::kCallFunction, args->length());
|
| - __ bind(&done);
|
| -
|
| - context()->Plug(v0);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| DCHECK(args->length() == 2);
|
|
|