1 /* src/vm/jit/show.c - showing the intermediate representation
3 Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
4 C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 J. Wenninger, Institut f. Computersprachen - TU Wien
8 This file is part of CACAO.
10 This program is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License as
12 published by the Free Software Foundation; either version 2, or (at
13 your option) any later version.
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 Contact: cacao@cacaojvm.org
27 Authors: Andreas Krall
29 Changes: Edwin Steiner
43 #include "mm/memory.h"
45 #if defined(ENABLE_THREADS)
46 # include "threads/native/lock.h"
48 # include "threads/none/lock.h"
51 #include "vm/global.h"
52 #include "vm/options.h"
53 #include "vm/builtin.h"
54 #include "vm/stringlocal.h"
55 #include "vm/jit/jit.h"
56 #include "vm/jit/show.h"
57 #include "vm/jit/disass.h"
58 #include "vm/jit/stack.h"
61 /* global variables ***********************************************************/
63 #if defined(ENABLE_THREADS) && !defined(NDEBUG)
64 static java_objectheader *show_global_lock;
68 /* forward declarations *******************************************************/
71 static void new_show_variable_array(jitdata *jd, s4 *vars, int n, int stage);
72 static void show_allocation(s4 type, s4 flags, s4 regoff);
73 static void show_variable(jitdata *jd, s4 index, int stage);
77 /* show_init *******************************************************************
79 Initialized the show subsystem (called by jit_init).
81 *******************************************************************************/
86 #if defined(ENABLE_THREADS)
87 /* initialize the show lock */
89 show_global_lock = NEW(java_objectheader);
91 lock_init_object_lock(show_global_lock);
102 char *show_jit_type_names[] = {
113 char show_jit_type_letters[] = {
127 /* show_method *****************************************************************
129 Print the intermediate representation of a method.
131 NOTE: Currently this function may only be called after register allocation!
133 *******************************************************************************/
136 void new_show_method(jitdata *jd, int stage)
143 basicblock *lastbptr;
148 /* get required compiler data */
155 /* We need to enter a lock here, since the binutils disassembler
156 is not reentrant-able and we could not read functions printed
159 LOCK_MONITOR_ENTER(show_global_lock);
161 /* get the last basic block */
163 for (lastbptr = jd->new_basicblocks; lastbptr->next != NULL; lastbptr = lastbptr->next);
169 printf("\n(NEW INSTRUCTION FORMAT)\n");
170 if (jd->isleafmethod)
171 printf("LEAFMETHOD\n");
172 printf("\nBasic blocks: %d\n", jd->new_basicblockcount);
173 if (stage >= SHOW_CODE) {
174 printf("Code length: %d\n", (lastbptr->mpc - jd->new_basicblocks[0].mpc));
175 printf("Data length: %d\n", cd->dseglen);
176 printf("Stub length: %d\n", (s4) (code->mcodelength -
177 ((ptrint) cd->dseglen + lastbptr->mpc)));
179 printf("Max locals: %d\n", cd->maxlocals);
180 printf("Max stack: %d\n", cd->maxstack);
181 printf("Line number table length: %d\n", m->linenumbercount);
183 if (stage >= SHOW_PARSE) {
184 printf("Exceptions (Number: %d):\n", cd->exceptiontablelength);
185 for (ex = cd->exceptiontable; ex != NULL; ex = ex->down) {
186 printf(" L%03d ... ", ex->start->nr );
187 printf("L%03d = ", ex->end->nr);
188 printf("L%03d", ex->handler->nr);
189 printf(" (catchtype: ");
190 if (ex->catchtype.any)
191 if (IS_CLASSREF(ex->catchtype))
192 class_classref_print(ex->catchtype.ref);
194 class_print(ex->catchtype.cls);
201 if (stage >= SHOW_PARSE && rd && jd->localcount > 0) {
202 printf("Local Table:\n");
203 for (i = 0; i < jd->localcount; i++) {
206 #if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
207 # if defined(ENABLE_INTRP)
210 printf(" (%s) ", show_jit_type_names[VAR(i)->type]);
211 if (stage >= SHOW_REGS)
212 show_allocation(VAR(i)->type, VAR(i)->flags, VAR(i)->vv.regoff);
214 # if defined(ENABLE_INTRP)
217 #endif /* defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER) */
222 if (cd->maxlocals > 0) {
223 printf("Local Map:\n");
225 for (j = 0; j < cd->maxlocals; j++) {
229 for (i = 0; i < 5; i++) {
230 printf(" %5s ",show_jit_type_names[i]);
231 for (j = 0; j < cd->maxlocals; j++) {
232 if (jd->local_map[j*5+i] == UNUSED)
235 printf("%4i ",jd->local_map[j*5+i]);
242 if (cd->maxstack > 0 && jd->interface_map && stage >= SHOW_STACK) {
244 interface_info *mapptr = jd->interface_map;
246 /* look if there exist any IN/OUTVARS */
247 for (i = 0; (i < (5 * cd->maxstack)) && !exist; i++, mapptr++)
248 exist = (mapptr->flags != UNUSED);
251 printf("Interface Table: (In/Outvars)\n");
253 for (j = 0; j < cd->maxstack; j++) {
258 for (i = 0; i < 5; i++) {
259 printf(" %5s ",show_jit_type_names[i]);
260 for (j = 0; j < cd->maxstack; j++) {
261 s4 flags = jd->interface_map[j*5+i].flags;
262 s4 regoff = jd->interface_map[j*5+i].regoff;
268 if (stage >= SHOW_REGS) {
269 if (flags & SAVEDVAR) {
270 if (flags & INMEMORY)
276 if (flags & INMEMORY)
281 printf("%c%03d(", ch, regoff);
282 show_allocation(i, flags, regoff);
286 if (flags & SAVEDVAR)
299 if (rd->memuse && stage >= SHOW_REGS) {
303 printf("Stack slots: (memuse=%d", rd->memuse);
304 if (stage >= SHOW_CODE) {
305 printf(", stackframesize=%d", cd->stackframesize);
306 max = cd->stackframesize;
309 for (i=0; i<max; ++i) {
310 #if defined(HAS_4BYTE_STACKSLOT)
311 printf(" M%02d = 0x%02x(sp): ", i, i * 4);
313 printf(" M%02d = 0x%02x(sp): ", i, i * 8);
315 for (j=0; j<jd->varcount; ++j) {
317 if ((v->flags & INMEMORY) && (v->vv.regoff == i)) {
318 show_variable(jd, j, stage);
329 if (code->rplpoints) {
330 printf("Replacement Points:\n");
331 replace_show_replacement_points(code);
335 #if defined(ENABLE_DISASSEMBLER)
336 /* show code before first basic block */
338 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd)) {
339 u1ptr = (u1 *) ((ptrint) code->mcode + cd->dseglen);
341 for (; u1ptr < (u1 *) ((ptrint) code->mcode + cd->dseglen + jd->new_basicblocks[0].mpc);)
348 /* show code of all basic blocks */
350 for (bptr = jd->new_basicblocks; bptr != NULL; bptr = bptr->next)
351 new_show_basicblock(jd, bptr, stage);
353 #if defined(ENABLE_DISASSEMBLER)
354 /* show stubs code */
356 if (stage >= SHOW_CODE && opt_showdisassemble && opt_showexceptionstubs) {
357 printf("\nStubs code:\n");
358 printf("Length: %d\n\n", (s4) (code->mcodelength -
359 ((ptrint) cd->dseglen + lastbptr->mpc)));
361 u1ptr = (u1 *) ((ptrint) code->mcode + cd->dseglen + lastbptr->mpc);
363 for (; (ptrint) u1ptr < ((ptrint) code->mcode + code->mcodelength);)
370 LOCK_MONITOR_EXIT(show_global_lock);
372 /* finally flush the output */
376 #endif /* !defined(NDEBUG) */
379 /* show_basicblock *************************************************************
381 Print the intermediate representation of a basic block.
383 NOTE: Currently this function may only be called after register allocation!
385 *******************************************************************************/
388 void new_show_basicblock(jitdata *jd, basicblock *bptr, int stage)
398 /* get required compiler data */
404 if (bptr->flags != BBDELETED) {
405 deadcode = bptr->flags <= BBREACHED;
407 printf("======== %sL%03d ======== %s(flags: %d, bitflags: %01x, next: %d, type: ",
408 (bptr->bitflags & BBFLAG_REPLACEMENT) ? "<REPLACE> " : "",
410 (deadcode && stage >= SHOW_STACK) ? "DEADCODE! " : "",
411 bptr->flags, bptr->bitflags,
412 (bptr->next) ? (bptr->next->nr) : -1);
414 switch (bptr->type) {
426 printf(", icount: %d", bptr->icount);
428 if (stage >= SHOW_CFG) {
429 printf(", preds: %d [ ", bptr->predecessorcount);
431 for (i = 0; i < bptr->predecessorcount; i++)
432 printf("%d ", bptr->predecessors[i]->nr);
440 printf(" (clone of L%03d)", bptr->original->nr);
442 basicblock *b = bptr->copied_to;
444 printf(" (copied to ");
445 for (; b; b = b->copied_to)
446 printf("L%03d ", b->nr);
453 if (stage >= SHOW_STACK) {
455 new_show_variable_array(jd, bptr->invars, bptr->indepth, stage);
461 for (i = 0; i < bptr->icount; i++, iptr++) {
462 printf("%4d: ", iptr->line);
464 new_show_icmd(jd, iptr, deadcode, stage);
468 if (stage >= SHOW_STACK) {
470 new_show_variable_array(jd, bptr->outvars, bptr->outdepth, stage);
474 #if defined(ENABLE_DISASSEMBLER)
475 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd) &&
479 u1ptr = (u1 *) (code->mcode + cd->dseglen + bptr->mpc);
481 if (bptr->next != NULL) {
482 for (; u1ptr < (u1 *) (code->mcode + cd->dseglen + bptr->next->mpc);)
487 for (; u1ptr < (u1 *) (code->mcode + code->mcodelength);)
495 #endif /* !defined(NDEBUG) */
498 /* show_icmd *******************************************************************
500 Print the intermediate representation of an instruction.
502 NOTE: Currently this function may only be called after register allocation!
504 *******************************************************************************/
508 #define SHOW_TARGET(target) \
509 if (stage >= SHOW_STACK) { \
510 printf("--> L%03d ", (target).block->nr); \
512 else if (stage >= SHOW_PARSE) { \
513 printf("--> insindex %d (L%03d) ", (target).insindex, \
514 jd->new_basicblocks[jd->new_basicblockindex[ \
515 (target).insindex]].nr); \
518 printf("--> insindex %d ", (target).insindex); \
521 #define SHOW_INT_CONST(val) \
522 if (stage >= SHOW_PARSE) { \
523 printf("%ld ", (long) (val)); \
529 #define SHOW_LNG_CONST(val) \
530 if (stage >= SHOW_PARSE) { \
531 printf("%lld ", (long long)(val)); \
537 #define SHOW_FLT_CONST(val) \
538 if (stage >= SHOW_PARSE) { \
539 printf("%g ", (val)); \
545 #define SHOW_DBL_CONST(val) \
546 if (stage >= SHOW_PARSE) { \
547 printf("%g ", (val)); \
553 #define SHOW_INDEX(index) \
554 if (stage >= SHOW_PARSE) { \
555 printf("%d ", index); \
561 #define SHOW_STRING(val) \
562 if (stage >= SHOW_PARSE) { \
564 utf_display_printable_ascii( \
565 javastring_toutf((java_lang_String *)(val), false)); \
572 #define SHOW_CLASSREF_OR_CLASSINFO(c) \
573 if (stage >= SHOW_PARSE) { \
574 if (IS_CLASSREF(c)) \
575 class_classref_print(c.ref); \
577 class_print(c.cls); \
584 #define SHOW_FIELD(fmiref) \
585 if (stage >= SHOW_PARSE) { \
586 field_fieldref_print(fmiref); \
593 #define SHOW_VARIABLE(v) \
594 show_variable(jd, (v), stage)
596 #define SHOW_S1(iptr) \
597 if (stage >= SHOW_STACK) { \
598 SHOW_VARIABLE(iptr->s1.varindex); \
601 #define SHOW_S2(iptr) \
602 if (stage >= SHOW_STACK) { \
603 SHOW_VARIABLE(iptr->sx.s23.s2.varindex); \
606 #define SHOW_S3(iptr) \
607 if (stage >= SHOW_STACK) { \
608 SHOW_VARIABLE(iptr->sx.s23.s3.varindex); \
611 #define SHOW_DST(iptr) \
612 if (stage >= SHOW_STACK) { \
614 SHOW_VARIABLE(iptr->dst.varindex); \
617 #define SHOW_S1_LOCAL(iptr) \
618 if (stage >= SHOW_STACK) { \
619 printf("L%d ", iptr->s1.varindex); \
622 printf("JavaL%d ", iptr->s1.varindex); \
625 #define SHOW_DST_LOCAL(iptr) \
626 if (stage >= SHOW_STACK) { \
627 printf("=> L%d ", iptr->dst.varindex); \
630 printf("=> JavaL%d ", iptr->dst.varindex); \
633 static void show_allocation(s4 type, s4 flags, s4 regoff)
635 if (flags & INMEMORY) {
636 printf("M%02d", regoff);
640 #ifdef HAS_ADDRESS_REGISTER_FILE
641 if (type == TYPE_ADR) {
642 printf("R%02d", regoff);
647 if (IS_FLT_DBL_TYPE(type)) {
648 printf("F%02d", regoff);
652 #if defined(SUPPORT_COMBINE_INTEGER_REGISTERS)
653 if (IS_2_WORD_TYPE(type)) {
654 # if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
655 # if defined(ENABLE_INTRP)
657 printf("%3d/%3d", GET_LOW_REG(regoff),
658 GET_HIGH_REG(regoff));
661 printf("%3s/%3s", regs[GET_LOW_REG(regoff)],
662 regs[GET_HIGH_REG(regoff)]);
664 printf("%3d/%3d", GET_LOW_REG(regoff),
665 GET_HIGH_REG(regoff));
669 #endif /* defined(SUPPORT_COMBINE_INTEGER_REGISTERS) */
671 #if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
672 # if defined(ENABLE_INTRP)
674 printf("%3d", regoff);
677 printf("%3s", regs[regoff]);
679 printf("%3d", regoff);
683 static void show_variable(jitdata *jd, s4 index, int stage)
692 case TYPE_INT: type = 'i'; break;
693 case TYPE_LNG: type = 'l'; break;
694 case TYPE_FLT: type = 'f'; break;
695 case TYPE_DBL: type = 'd'; break;
696 case TYPE_ADR: type = 'a'; break;
697 case TYPE_RET: type = 'r'; break;
701 if (index < jd->localcount) {
703 if (v->flags & (PREALLOC | OUTVAR))
704 printf("<INVALID FLAGS!>");
707 if (v->flags & PREALLOC) {
709 if (v->flags & OUTVAR)
710 printf("<INVALID FLAGS!>");
712 else if (v->flags & OUTVAR)
718 printf("%c%c%d", kind, type, index);
720 if (v->flags & SAVEDVAR)
723 if (stage >= SHOW_REGS) {
725 show_allocation(v->type, v->flags, v->vv.regoff);
732 static void new_show_variable_array(jitdata *jd, s4 *vars, int n, int stage)
737 for (i=0; i<n; ++i) {
740 show_variable(jd, vars[i], stage);
745 void new_show_icmd(jitdata *jd, instruction *iptr, bool deadcode, int stage)
748 branch_target_t *table;
749 lookup_target_t *lookup;
750 constant_FMIref *fmiref;
754 /* get the opcode and the condition */
758 printf("%s ", icmd_names[opcode]);
760 if (stage < SHOW_PARSE)
766 /* Print the condition for conditional instructions. */
768 /* XXX print condition from flags */
770 if (iptr->flags.bits & INS_FLAG_UNRESOLVED)
771 printf("(UNRESOLVED) ");
777 case ICMD_CHECKNULL_POP:
782 case ICMD_ARRAYLENGTH:
849 /* binary/const INT */
861 case ICMD_IUSHRCONST:
864 case ICMD_LUSHRCONST:
866 SHOW_INT_CONST(iptr->sx.val.i);
870 /* ?ASTORECONST (trinary/const INT) */
871 case ICMD_IASTORECONST:
872 case ICMD_BASTORECONST:
873 case ICMD_CASTORECONST:
874 case ICMD_SASTORECONST:
877 SHOW_INT_CONST(iptr->sx.s23.s3.constval);
882 SHOW_INT_CONST(iptr->sx.val.i);
886 /* binary/const LNG */
897 SHOW_LNG_CONST(iptr->sx.val.l);
901 /* trinary/const LNG (<= pointer size) */
902 case ICMD_LASTORECONST:
905 SHOW_LNG_CONST(iptr->sx.s23.s3.constval);
910 SHOW_LNG_CONST(iptr->sx.val.l);
916 SHOW_FLT_CONST(iptr->sx.val.f);
922 SHOW_DBL_CONST(iptr->sx.val.d);
928 if (iptr->flags.bits & INS_FLAG_CLASS) {
929 SHOW_CLASSREF_OR_CLASSINFO(iptr->sx.val.c);
931 else if (iptr->sx.val.anyptr == NULL) {
935 SHOW_STRING(iptr->sx.val.stringconst);
940 case ICMD_AASTORECONST:
943 printf("%p ", (void*) iptr->sx.s23.s3.constval);
946 case ICMD_GETFIELD: /* 1 -> 1 */
947 case ICMD_PUTFIELD: /* 2 -> 0 */
948 case ICMD_PUTSTATIC: /* 1 -> 0 */
949 case ICMD_GETSTATIC: /* 0 -> 1 */
950 case ICMD_PUTSTATICCONST: /* 0 -> 0 */
951 case ICMD_PUTFIELDCONST: /* 1 -> 0 */
952 if (opcode != ICMD_GETSTATIC && opcode != ICMD_PUTSTATICCONST) {
954 if (opcode == ICMD_PUTFIELD) {
958 INSTRUCTION_GET_FIELDREF(iptr, fmiref);
961 if (opcode == ICMD_GETSTATIC || opcode == ICMD_GETFIELD) {
968 SHOW_INT_CONST(iptr->sx.val.i);
969 SHOW_DST_LOCAL(iptr);
1000 if (stage >= SHOW_STACK) {
1001 printf(" ---> L%03d", iptr->dst.block->nr);
1010 SHOW_S1_LOCAL(iptr);
1020 SHOW_DST_LOCAL(iptr);
1031 case ICMD_ANEWARRAY:
1035 case ICMD_MULTIANEWARRAY:
1036 if (stage >= SHOW_STACK) {
1037 argp = iptr->sx.s23.s2.args;
1038 i = iptr->s1.argcount;
1040 SHOW_VARIABLE(*(argp++));
1044 printf("argcount=%d ", iptr->s1.argcount);
1049 case ICMD_CHECKCAST:
1052 class_classref_or_classinfo_print(iptr->sx.s23.s3.c);
1056 case ICMD_INSTANCEOF:
1061 case ICMD_INLINE_START:
1062 case ICMD_INLINE_END:
1066 if (stage >= SHOW_STACK) {
1067 argp = iptr->sx.s23.s2.args;
1068 i = iptr->s1.argcount;
1070 if ((iptr->s1.argcount - 1 - i) == iptr->sx.s23.s3.bte->md->paramcount)
1071 printf(" pass-through: ");
1072 SHOW_VARIABLE(*(argp++));
1075 printf("%s ", iptr->sx.s23.s3.bte->cname);
1076 if (iptr->sx.s23.s3.bte->md->returntype.type != TYPE_VOID) {
1081 case ICMD_INVOKEVIRTUAL:
1082 case ICMD_INVOKESPECIAL:
1083 case ICMD_INVOKESTATIC:
1084 case ICMD_INVOKEINTERFACE:
1085 if (stage >= SHOW_STACK) {
1087 INSTRUCTION_GET_METHODDESC(iptr, md);
1088 argp = iptr->sx.s23.s2.args;
1089 i = iptr->s1.argcount;
1091 if ((iptr->s1.argcount - 1 - i) == md->paramcount)
1092 printf(" pass-through: ");
1093 SHOW_VARIABLE(*(argp++));
1096 INSTRUCTION_GET_METHODREF(iptr, fmiref);
1097 method_methodref_print(fmiref);
1098 if (fmiref->parseddesc.md->returntype.type != TYPE_VOID) {
1111 SHOW_TARGET(iptr->dst);
1121 SHOW_TARGET(iptr->dst);
1125 case ICMD_INLINE_GOTO:
1126 SHOW_TARGET(iptr->dst);
1130 SHOW_TARGET(iptr->sx.s23.s3.jsrtarget);
1135 case ICMD_IFNONNULL:
1137 SHOW_TARGET(iptr->dst);
1140 case ICMD_IF_ICMPEQ:
1141 case ICMD_IF_ICMPNE:
1142 case ICMD_IF_ICMPLT:
1143 case ICMD_IF_ICMPGE:
1144 case ICMD_IF_ICMPGT:
1145 case ICMD_IF_ICMPLE:
1147 case ICMD_IF_LCMPEQ:
1148 case ICMD_IF_LCMPNE:
1149 case ICMD_IF_LCMPLT:
1150 case ICMD_IF_LCMPGE:
1151 case ICMD_IF_LCMPGT:
1152 case ICMD_IF_LCMPLE:
1154 case ICMD_IF_FCMPEQ:
1155 case ICMD_IF_FCMPNE:
1157 case ICMD_IF_FCMPL_LT:
1158 case ICMD_IF_FCMPL_GE:
1159 case ICMD_IF_FCMPL_GT:
1160 case ICMD_IF_FCMPL_LE:
1162 case ICMD_IF_FCMPG_LT:
1163 case ICMD_IF_FCMPG_GE:
1164 case ICMD_IF_FCMPG_GT:
1165 case ICMD_IF_FCMPG_LE:
1167 case ICMD_IF_DCMPEQ:
1168 case ICMD_IF_DCMPNE:
1170 case ICMD_IF_DCMPL_LT:
1171 case ICMD_IF_DCMPL_GE:
1172 case ICMD_IF_DCMPL_GT:
1173 case ICMD_IF_DCMPL_LE:
1175 case ICMD_IF_DCMPG_LT:
1176 case ICMD_IF_DCMPG_GE:
1177 case ICMD_IF_DCMPG_GT:
1178 case ICMD_IF_DCMPG_LE:
1180 case ICMD_IF_ACMPEQ:
1181 case ICMD_IF_ACMPNE:
1184 SHOW_TARGET(iptr->dst);
1187 case ICMD_TABLESWITCH:
1189 table = iptr->dst.table;
1191 i = iptr->sx.s23.s3.tablehigh
1192 - iptr->sx.s23.s2.tablelow + 1;
1194 printf("high=%d low=%d count=%d\n", iptr->sx.s23.s3.tablehigh, iptr->sx.s23.s2.tablelow, i);
1196 printf("\t\t%d --> ", table - iptr->dst.table);
1197 if (stage >= SHOW_STACK) {
1198 printf("L%03d\n", table->block->nr);
1201 printf("insindex %d (L%03d)\n", table->insindex, BLOCK_OF(table->insindex)->nr);
1208 case ICMD_LOOKUPSWITCH:
1211 printf("count=%d, default=", iptr->sx.s23.s2.lookupcount);
1212 if (stage >= SHOW_STACK) {
1213 printf("L%03d\n", iptr->sx.s23.s3.lookupdefault.block->nr);
1216 printf("insindex %d (L%03d)\n", iptr->sx.s23.s3.lookupdefault.insindex, BLOCK_OF(iptr->sx.s23.s3.lookupdefault.insindex)->nr);
1219 lookup = iptr->dst.lookup;
1220 i = iptr->sx.s23.s2.lookupcount;
1222 printf("\t\t%d --> ", lookup->value);
1223 if (stage >= SHOW_STACK) {
1224 printf("L%03d\n", lookup->target.block->nr);
1227 printf("insindex %d (L%03d)\n", lookup->target.insindex, BLOCK_OF(lookup->target.insindex)->nr);
1253 #endif /* !defined(NDEBUG) */
1257 * These are local overrides for various environment variables in Emacs.
1258 * Please do not remove this and leave it at the end of the file, where
1259 * Emacs will automagically detect them.
1260 * ---------------------------------------------------------------------
1263 * indent-tabs-mode: t
1267 * vim:noexpandtab:sw=4:ts=4: