| 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 4c104a78ee598aa8ab016899a4bfb175f12e4de7..edc4f69f74d4ded12668eb6cd56293b4fc65aa05 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -3066,7 +3066,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
| __ EmitLoadTypeFeedbackVector(a2);
|
| __ li(a3, Operand(SmiFromSlot(expr->CallNewFeedbackSlot())));
|
|
|
| - CallConstructStub stub(isolate(), RECORD_CONSTRUCTOR_TARGET);
|
| + CallConstructStub stub(isolate());
|
| __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL);
|
| PrepareForBailoutForId(expr->ReturnId(), TOS_REG);
|
| // Restore context register.
|
| @@ -3094,20 +3094,15 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) {
|
| // constructor invocation.
|
| SetConstructCallPosition(expr, arg_count);
|
|
|
| - // Load new target into a4.
|
| + // Load new target into a3.
|
| VisitForAccumulatorValue(super_call_ref->new_target_var());
|
| - __ mov(a4, result_register());
|
| + __ mov(a3, result_register());
|
|
|
| // Load function and argument count into a1 and a0.
|
| __ li(a0, Operand(arg_count));
|
| __ ld(a1, MemOperand(sp, arg_count * kPointerSize));
|
|
|
| - // Record call targets in unoptimized code.
|
| - __ EmitLoadTypeFeedbackVector(a2);
|
| - __ li(a3, Operand(SmiFromSlot(expr->CallFeedbackSlot())));
|
| -
|
| - CallConstructStub stub(isolate(), SUPER_CALL_RECORD_TARGET);
|
| - __ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL);
|
| + __ Call(isolate()->builtins()->Construct(), RelocInfo::CONSTRUCT_CALL);
|
|
|
| RecordJSReturnSite(expr);
|
|
|
|
|