Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index 160ae20c11aa7abe3c239aec50814893057626db..0afe5c74d2b4679471ef790c471e00a43f065a3d 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -3120,6 +3120,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(eax, new_target_var); |
__ push(eax); |
@@ -4085,6 +4087,7 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) { |
} |
__ bind(&args_set_up); |
+ |
__ mov(edi, Operand(esp, eax, times_pointer_size, 0)); |
CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); |