Move asm label functions from tccasm.c to tccgen.c

* Move functions parse_asm_str and asm_label_instr from tccasm.c to
  tccgen.c
* Remove CONFIG_TCC_ASM_LABEL macro as asm label are available on all
  archs.
See:
http://lists.nongnu.org/archive/html/tinycc-devel/2010-09/msg00026.html
for the rationale.
This commit is contained in:
Thomas Preud'homme
2010-09-14 19:17:39 +02:00
parent 2596273fce
commit b8adf0090e
4 changed files with 29 additions and 44 deletions

View File

@ -72,12 +72,6 @@ ST_DATA void *rt_prog_main;
#endif /* ALL_IN_ONE */
/********************************************************/
#ifndef CONFIG_TCC_ASM_LABEL
ST_FUNC void asm_label_instr(CString *)
{
error("inline asm() not supported");
}
#endif
#ifndef CONFIG_TCC_ASM
ST_FUNC void asm_instr(void)
{