Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index 60e589ac890877deaecce10188032c361d8d376b..0b17b162fb076afbce541ceaad80c18d238bf341 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -342,6 +342,7 @@ void ArgumentAdaptorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |
rdi, // JSFunction |
+ rdx, // the new target |
rax, // actual number of arguments |
rbx, // expected number of arguments |
}; |