Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 3ffccd3b712c5f9a11198cb7f1d702cc87e71cf1..23119d6ea5445aacdaa640d1cb915f7bec45efae 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -198,6 +198,15 @@ void CallConstructDescriptor::InitializePlatformSpecific( |
} |
+void CallTrampolineDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // eax : number of arguments |
+ // edi : the target to call |
+ Register registers[] = {edi, eax}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void RegExpConstructResultDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {ecx, ebx, eax}; |