Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index fce6248a88be5dde73b4c5710349fa68307517a7..035113a691946ca8057cc3bac6f63d8fd18666af 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -3225,7 +3225,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
- Comment cmnt(masm_, "[ SuperConstructorCall"); |
+ if (!ValidateSuperCall(expr)) return; |
Variable* new_target_var = scope()->DeclarationScope()->new_target_var(); |
GetVar(result_register(), new_target_var); |
__ Push(result_register()); |