Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 48de9d5c3bda6c73efd7e0e8cd5f50b39408c07a..6b45523424367e647fd6b0bf91562c8d2cc6d99a 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -210,6 +210,16 @@ void CallTrampolineDescriptor::InitializePlatformSpecific( |
} |
+void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // eax : number of arguments |
+ // edx : the new target |
+ // edi : the target to call |
+ Register registers[] = {edi, edx, eax}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void RegExpConstructResultDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {ecx, ebx, eax}; |