Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index f04b52460ea63b887996b03b4a219f160d6d3486..a78ed4e93cdce4a967cb5460840747d94296c142 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -3226,7 +3226,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()); |