| Index: src/mips64/full-codegen-mips64.cc
|
| diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc
|
| index 18c102796de98dde7f0470e4912f01f092d3c4ea..4fc1908a14958b890fccec303140bb677e1aa9aa 100644
|
| --- a/src/mips64/full-codegen-mips64.cc
|
| +++ b/src/mips64/full-codegen-mips64.cc
|
| @@ -440,8 +440,7 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| // Here we use masm_-> instead of the __ macro to avoid the code coverage
|
| // tool from instrumenting as we rely on the code size here.
|
| int32_t arg_count = info_->scope()->num_parameters() + 1;
|
| - if (FLAG_experimental_classes &&
|
| - IsSubclassConstructor(info_->function()->kind())) {
|
| + if (IsSubclassConstructor(info_->function()->kind())) {
|
| arg_count++;
|
| }
|
| int32_t sp_delta = arg_count * kPointerSize;
|
| @@ -3161,15 +3160,7 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
| }
|
| }
|
| } else if (call_type == Call::SUPER_CALL) {
|
| - if (FLAG_experimental_classes) {
|
| - EmitSuperConstructorCall(expr);
|
| - } else {
|
| - EmitLoadSuperConstructor();
|
| - __ Push(result_register());
|
| - SuperReference* super_ref = callee->AsSuperReference();
|
| - VisitForStackValue(super_ref->this_var());
|
| - EmitCall(expr, CallICState::METHOD);
|
| - }
|
| + EmitSuperConstructorCall(expr);
|
| } else {
|
| DCHECK(call_type == Call::OTHER_CALL);
|
| // Call to an arbitrary expression not handled specially above.
|
|
|