Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 2da85c8a768552757b9222561ffe2faf9be5bf7e..4146251d4d1a5f03b65b23061d3e90893d2d1280 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -3262,7 +3262,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()); |