Index: src/ia32/interface-descriptors-ia32.cc |
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc |
index 1c0402f11767e427403e73b99cdb314db1a6c5cc..821e57d3455090801fdbf27628a04ac1d7d95fdf 100644 |
--- a/src/ia32/interface-descriptors-ia32.cc |
+++ b/src/ia32/interface-descriptors-ia32.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}; |