Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 13e78045ec6aebec19ed34daab6e39bbe0c5cb5c..905bb688d051c4f2fd7d64b046e54e2ed940fad5 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -217,6 +217,17 @@ void CallTrampolineDescriptor::InitializePlatformSpecific( |
} |
+void ConstructStubDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // eax : number of arguments |
+ // edx : the new target |
+ // edi : the target to call |
+ // ebx : allocation site or undefined |
+ Register registers[] = {edi, edx, eax, ebx}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// eax : number of arguments |