Mercurial > hg-old > index.cgi
comparison lwasm/insn_inh.c @ 348:11a95c6414b4
Added third func to instab to split resolve and emit logic
author | lost@starbug |
---|---|
date | Sat, 27 Mar 2010 22:15:07 -0600 |
parents | a82c55070624 |
children | eacdae8a1575 |
comparison
equal
deleted
inserted
replaced
347:1649bc7bda5a | 348:11a95c6414b4 |
---|---|
27 PARSEFUNC(insn_parse_inh) | 27 PARSEFUNC(insn_parse_inh) |
28 { | 28 { |
29 l -> len = OPLEN(instab[l -> insn].ops[0]); | 29 l -> len = OPLEN(instab[l -> insn].ops[0]); |
30 } | 30 } |
31 | 31 |
32 RESOLVEFUNC(insn_resolve_inh) | 32 EMITFUNC(insn_emit_inh) |
33 { | 33 { |
34 lwasm_emitop(l, instab[l -> insn].ops[0]); | 34 lwasm_emitop(l, instab[l -> insn].ops[0]); |
35 } | 35 } |