Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 67b541f1ca4359b9ef8657017f79946dee1ec63a..82cfac0fdf3e622a56c4e7ab40f90079b7a85111 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -3148,6 +3148,8 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
+ if (!ValidateSuperCall(expr)) return; |
+ |
Variable* new_target_var = scope()->DeclarationScope()->new_target_var(); |
GetVar(result_register(), new_target_var); |
__ Push(result_register()); |