/* c should be COL_color; temporarily it is not */ void AS_printInstrList (FILE *out, AS_instrList iList, Temp_map m) { for (; iList; iList=iList->tail) { AS_print(out, iList->head, m); } //fprintf(out, "\n"); }
void show_instr(void * i) { AS_instr instr = (AS_instr) i; assert(F_tempMap); assert(instr); /*switch (instr->kind) { case I_OPER: puts(instr->u.OPER.assem); break; case I_LABEL: puts(instr->u.LABEL.assem); break; case I_MOVE: puts(instr->u.MOVE.assem); break; default: assert("Invalid SHOW INSTR"); }*/ AS_print(stdout, instr, Temp_layerMap(F_tempMap, Temp_name())); }