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