Mercurial > hg-old > index.cgi
diff src/insn_gen.c @ 98:81fc353d4d69
Cleaned up old lwasm_expr_result() function and unused EXPR_* flags
author | lost |
---|---|
date | Sat, 17 Jan 2009 07:12:05 +0000 |
parents | a338d496350e |
children |
line wrap: on
line diff
--- a/src/insn_gen.c Sat Jan 17 07:09:15 2009 +0000 +++ b/src/insn_gen.c Sat Jan 17 07:12:05 2009 +0000 @@ -140,7 +140,7 @@ { lwasm_emitop(as, l, instab[opnum].ops[3]); (*p)++; - r = lwasm_expr_result2(as, l, p, EXPR_PASS2CONST | EXPR_BYTE, &rval, 0); + r = lwasm_expr_result2(as, l, p, 0, &rval, 0); if (r != 0) rval = 0; if (r == 1 && as -> passnum == 2) @@ -212,7 +212,7 @@ lwasm_emitop(as, l, instab[opnum].ops[0]); (*p)++; - r = lwasm_expr_result2(as, l, p, EXPR_PASS2CONST | EXPR_BYTE, &rval, 0); + r = lwasm_expr_result2(as, l, p, 0, &rval, 0); if (r != 0) rval = 0; if (r == 1 && as -> passnum == 2)