| Index: src/ia32/interface-descriptors-ia32.cc
|
| diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc
|
| index 2d5f99c6bc8bc6d1ca95a03b03cb46b4d45238db..1d358915e8932ee86ac29e2f32f42e8e941b2c02 100644
|
| --- a/src/ia32/interface-descriptors-ia32.cc
|
| +++ b/src/ia32/interface-descriptors-ia32.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
|
|
|