Commit 08dfb8c9 authored by Alexandre Julliard's avatar Alexandre Julliard

Don't output register function code if it's a forwarded entry point.

parent 2229472d
...@@ -372,6 +372,7 @@ static void output_register_funcs( FILE *outfile ) ...@@ -372,6 +372,7 @@ static void output_register_funcs( FILE *outfile )
ORDDEF *odp = EntryPoints[i]; ORDDEF *odp = EntryPoints[i];
if (odp->type != TYPE_STDCALL && odp->type != TYPE_CDECL) continue; if (odp->type != TYPE_STDCALL && odp->type != TYPE_CDECL) continue;
if (!(odp->flags & FLAG_REGISTER)) continue; if (!(odp->flags & FLAG_REGISTER)) continue;
if (odp->flags & FLAG_FORWARD) continue;
name = make_internal_name( odp, "regs" ); name = make_internal_name( odp, "regs" );
fprintf( outfile, fprintf( outfile,
"asm(\".align %d\\n\\t\"\n" "asm(\".align %d\\n\\t\"\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment