Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 9434b6b799dddaef4fed423556503c8d5859227b..85b0355a9bea16cf7395169fb8334022f829c672 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4117,6 +4117,7 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) { |
__ bind(&args_set_up); |
__ movp(rdi, Operand(rsp, rax, times_pointer_size, 0)); |
+ __ LoadRoot(rbx, Heap::kUndefinedValueRootIndex); |
CallConstructStub stub(isolate(), SUPER_CONSTRUCTOR_CALL); |
__ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); |