| Index: src/mips64/full-codegen-mips64.cc
|
| diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc
|
| index 79eec06c4053bcfaa975dfe5500a929541d681d8..1a76c52fd29f764222388bff7d8881f29e341a0e 100644
|
| --- a/src/mips64/full-codegen-mips64.cc
|
| +++ b/src/mips64/full-codegen-mips64.cc
|
| @@ -3048,6 +3048,15 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
| EmitKeyedCallWithLoadIC(expr, property->key());
|
| }
|
| }
|
| + } else if (call_type == Call::SUPER_CALL) {
|
| + SuperReference* super_ref = callee->AsSuperReference();
|
| + DCHECK(super_ref != NULL);
|
| + __ ld(a0, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
|
| + __ Push(a0);
|
| + __ CallRuntime(Runtime::kGetPrototype, 1);
|
| + __ Push(result_register());
|
| + VisitForStackValue(super_ref->this_var());
|
| + EmitCall(expr, CallICState::METHOD);
|
| } else {
|
| DCHECK(call_type == Call::OTHER_CALL);
|
| // Call to an arbitrary expression not handled specially above.
|
|
|