| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index 6f7166b97dde8a46244be4209328aa6f0218a0a7..9f26d4cfe129381ff359bc75e907c4cff5d05390 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -3049,6 +3049,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);
|
| + __ lw(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.
|
|
|