| Index: src/ia32/interface-descriptors-ia32.cc
|
| diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc
|
| index 6c77ef8f81498e74bc481c9575f113e0777d2d72..07c568f3ae67d7f4cd9375d3104ab8e17d21a0e2 100644
|
| --- a/src/ia32/interface-descriptors-ia32.cc
|
| +++ b/src/ia32/interface-descriptors-ia32.cc
|
| @@ -300,6 +300,27 @@ void ApiFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) {
|
| ebx, // call_data
|
| ecx, // holder
|
| edx, // api_function_address
|
| + edi, // actual number of arguments
|
| + };
|
| + Representation representations[] = {
|
| + Representation::Tagged(), // context
|
| + Representation::Tagged(), // callee
|
| + Representation::Tagged(), // call_data
|
| + Representation::Tagged(), // holder
|
| + Representation::External(), // api_function_address
|
| + Representation::Integer32(), // actual number of arguments
|
| + };
|
| + data->Initialize(arraysize(registers), registers, representations);
|
| +}
|
| +
|
| +
|
| +void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) {
|
| + Register registers[] = {
|
| + esi, // context
|
| + eax, // callee
|
| + ebx, // call_data
|
| + ecx, // holder
|
| + edx, // api_function_address
|
| };
|
| Representation representations[] = {
|
| Representation::Tagged(), // context
|
|
|