7 iemit ("!tlabeldef", IC_LABEL (ic)->key + 100);
13 iemit ("jp !tlabel", IC_LABEL (ic)->key + 100);
17 _genFunction (iCode * ic)
19 symbol *sym = OP_SYMBOL (IC_LEFT (ic));
21 // Create the function header
22 iemit ("!functionheader", sym->name);
23 iemit ("!functionlabeldef", sym->rname);
27 iemit ("!enterx", sym->stack);
36 _genReturn (iCode * ic)
40 // Has a return value. Load it up.
41 iemit ("; PENDING: call the generic loader to setup the return value.");
44 if (ic->next && ic->next->op == LABEL && IC_LABEL (ic->next) == returnLabel)
46 // The next label is the return label. Dont bother emitting a jump.
50 iemit ("jp !tlabel", returnLabel->key + 100);
54 static EMITTER _base_emitters[] =
58 {FUNCTION, _genFunction},
64 izt_initBaseEmitters (hTab ** into)
66 izt_addEmittersToHTab (into, _base_emitters);