mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 04:42:00 +00:00
Better support for kill_at option in fastcall entry points
svn path=/trunk/; revision=35071
This commit is contained in:
parent
b326f4d72f
commit
e8ac6d2a94
|
@ -611,15 +611,21 @@ void BuildDef32File( DLLSPEC *spec )
|
|||
case TYPE_FASTCALL:
|
||||
{
|
||||
int at_param = strlen(odp->u.func.arg_types) * get_ptr_size();
|
||||
output( " @%s", name );
|
||||
output( " " );
|
||||
if (!kill_at) output( "@" );
|
||||
output( "%s", name );
|
||||
if (!kill_at) output( "@%d", at_param );
|
||||
if (odp->flags & FLAG_FORWARD)
|
||||
{
|
||||
output( "=@%s", odp->link_name );
|
||||
output( "=" );
|
||||
if (!kill_at) output( "@" );
|
||||
output( "%s", odp->link_name );
|
||||
}
|
||||
else if (strcmp(name, odp->link_name)) /* try to reduce output */
|
||||
{
|
||||
output( "=@%s", odp->link_name );
|
||||
output( "=" );
|
||||
if (!kill_at) output( "@" );
|
||||
output( "%s", odp->link_name );
|
||||
if (!kill_at) output( "@%d", at_param );
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue