Mercurial > hg > CbC > old > device
diff mc-code-ia32.c @ 292:6d4231b6f9fe
switch statement prepare
author | kono |
---|---|
date | Sat, 05 Jun 2004 00:08:09 +0900 |
parents | 7b6df595b205 |
children | 60dba3ef1f69 |
line wrap: on
line diff
--- a/mc-code-ia32.c Fri Jun 04 03:32:19 2004 +0900 +++ b/mc-code-ia32.c Sat Jun 05 00:08:09 2004 +0900 @@ -464,10 +464,9 @@ void gexpr_init(void) { - while(reg_sp > 0) { - if (reg_stack[--reg_sp]>=0) - free_register(reg_stack[reg_sp]); - } + if (reg_sp>0) error(-1); + if (freg_sp>0) error(-1); + reg_sp = 0; freg_sp = 0; text_mode(); gexpr_code_init();