Mercurial > hg > tinycc
comparison i386/gen.c @ 546:3f683703c8db
Rename ggoto() to gen_goto().
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 28 Dec 2007 17:33:06 -0600 |
parents | 651cfa5d202a |
children | d8b3fa09ca5d |
comparison
equal
deleted
inserted
replaced
545:11d95002dfe1 | 546:3f683703c8db |
---|---|
937 /* all we have to do on i386 is to put the float in a register */ | 937 /* all we have to do on i386 is to put the float in a register */ |
938 gv(RC_FLOAT); | 938 gv(RC_FLOAT); |
939 } | 939 } |
940 | 940 |
941 /* computed goto support */ | 941 /* computed goto support */ |
942 void ggoto(void) | 942 void gen_goto(void) |
943 { | 943 { |
944 gcall_or_jmp(1); | 944 gcall_or_jmp(1); |
945 vtop--; | 945 vtop--; |
946 } | 946 } |
947 | 947 |
1009 if (!sym->c) | 1009 if (!sym->c) |
1010 put_extern_sym(sym, NULL, 0, 0); | 1010 put_extern_sym(sym, NULL, 0, 0); |
1011 rel->r_info = ELF32_R_INFO(sym->c, ELF32_R_TYPE(rel->r_info)); | 1011 rel->r_info = ELF32_R_INFO(sym->c, ELF32_R_TYPE(rel->r_info)); |
1012 } | 1012 } |
1013 #endif | 1013 #endif |
1014 | |
1015 /* end of X86 code generator */ | |
1016 /*************************************************************/ | |
1017 |