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[jd->var[i].type]);
211 if (stage >= SHOW_REGS)
212 show_allocation(jd->var[i].type, jd->var[i].flags, jd->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) {
316 varinfo *v = jd->var + 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, preds: %d [ ",
427 bptr->icount, bptr->predecessorcount);
429 for (i = 0; i < bptr->predecessorcount; i++)
430 printf("%d ", bptr->predecessors[i]->nr);
435 printf(" (clone of L%03d)", bptr->original->nr);
437 basicblock *b = bptr->copied_to;
439 printf(" (copied to ");
440 for (; b; b = b->copied_to)
441 printf("L%03d ", b->nr);
448 if (stage >= SHOW_STACK) {
450 new_show_variable_array(jd, bptr->invars, bptr->indepth, stage);
456 for (i = 0; i < bptr->icount; i++, iptr++) {
457 printf("%4d: ", iptr->line);
459 new_show_icmd(jd, iptr, deadcode, stage);
463 if (stage >= SHOW_STACK) {
465 new_show_variable_array(jd, bptr->outvars, bptr->outdepth, stage);
469 #if defined(ENABLE_DISASSEMBLER)
470 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd) &&
474 u1ptr = (u1 *) (code->mcode + cd->dseglen + bptr->mpc);
476 if (bptr->next != NULL) {
477 for (; u1ptr < (u1 *) (code->mcode + cd->dseglen + bptr->next->mpc);)
482 for (; u1ptr < (u1 *) (code->mcode + code->mcodelength);)
490 #endif /* !defined(NDEBUG) */
493 /* show_icmd *******************************************************************
495 Print the intermediate representation of an instruction.
497 NOTE: Currently this function may only be called after register allocation!
499 *******************************************************************************/
503 #define SHOW_TARGET(target) \
504 if (stage >= SHOW_STACK) { \
505 printf("--> L%03d ", (target).block->nr); \
507 else if (stage >= SHOW_PARSE) { \
508 printf("--> insindex %d (L%03d) ", (target).insindex, \
509 jd->new_basicblocks[jd->new_basicblockindex[ \
510 (target).insindex]].nr); \
513 printf("--> insindex %d ", (target).insindex); \
516 #define SHOW_INT_CONST(val) \
517 if (stage >= SHOW_PARSE) { \
518 printf("%ld ", (long) (val)); \
524 #define SHOW_LNG_CONST(val) \
525 if (stage >= SHOW_PARSE) { \
526 printf("%lld ", (long long)(val)); \
532 #define SHOW_FLT_CONST(val) \
533 if (stage >= SHOW_PARSE) { \
534 printf("%g ", (val)); \
540 #define SHOW_DBL_CONST(val) \
541 if (stage >= SHOW_PARSE) { \
542 printf("%g ", (val)); \
548 #define SHOW_INDEX(index) \
549 if (stage >= SHOW_PARSE) { \
550 printf("%d ", index); \
556 #define SHOW_STRING(val) \
557 if (stage >= SHOW_PARSE) { \
559 utf_display_printable_ascii( \
560 javastring_toutf((java_lang_String *)(val), false)); \
567 #define SHOW_CLASSREF_OR_CLASSINFO(c) \
568 if (stage >= SHOW_PARSE) { \
569 if (IS_CLASSREF(c)) \
570 class_classref_print(c.ref); \
572 class_print(c.cls); \
579 #define SHOW_FIELD(fmiref) \
580 if (stage >= SHOW_PARSE) { \
581 field_fieldref_print(fmiref); \
588 #define SHOW_VARIABLE(v) \
589 show_variable(jd, (v), stage)
591 #define SHOW_S1(iptr) \
592 if (stage >= SHOW_STACK) { \
593 SHOW_VARIABLE(iptr->s1.varindex); \
596 #define SHOW_S2(iptr) \
597 if (stage >= SHOW_STACK) { \
598 SHOW_VARIABLE(iptr->sx.s23.s2.varindex); \
601 #define SHOW_S3(iptr) \
602 if (stage >= SHOW_STACK) { \
603 SHOW_VARIABLE(iptr->sx.s23.s3.varindex); \
606 #define SHOW_DST(iptr) \
607 if (stage >= SHOW_STACK) { \
609 SHOW_VARIABLE(iptr->dst.varindex); \
612 #define SHOW_S1_LOCAL(iptr) \
613 if (stage >= SHOW_STACK) { \
614 printf("L%d ", iptr->s1.varindex); \
617 printf("JavaL%d ", iptr->s1.varindex); \
620 #define SHOW_DST_LOCAL(iptr) \
621 if (stage >= SHOW_STACK) { \
622 printf("=> L%d ", iptr->dst.varindex); \
625 printf("=> JavaL%d ", iptr->dst.varindex); \
628 static void show_allocation(s4 type, s4 flags, s4 regoff)
630 if (flags & INMEMORY) {
631 printf("M%02d", regoff);
635 #ifdef HAS_ADDRESS_REGISTER_FILE
636 if (type == TYPE_ADR) {
637 printf("R%02d", regoff);
642 if (IS_FLT_DBL_TYPE(type)) {
643 printf("F%02d", regoff);
647 #if defined(SUPPORT_COMBINE_INTEGER_REGISTERS)
648 if (IS_2_WORD_TYPE(type)) {
649 # if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
650 # if defined(ENABLE_INTRP)
652 printf("%3d/%3d", GET_LOW_REG(regoff),
653 GET_HIGH_REG(regoff));
656 printf("%3s/%3s", regs[GET_LOW_REG(regoff)],
657 regs[GET_HIGH_REG(regoff)]);
659 printf("%3d/%3d", GET_LOW_REG(regoff),
660 GET_HIGH_REG(regoff));
664 #endif /* defined(SUPPORT_COMBINE_INTEGER_REGISTERS) */
666 #if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
667 # if defined(ENABLE_INTRP)
669 printf("%3d", regoff);
672 printf("%3s", regs[regoff]);
674 printf("%3d", regoff);
678 static void show_variable(jitdata *jd, s4 index, int stage)
684 v = &(jd->var[index]);
687 case TYPE_INT: type = 'i'; break;
688 case TYPE_LNG: type = 'l'; break;
689 case TYPE_FLT: type = 'f'; break;
690 case TYPE_DBL: type = 'd'; break;
691 case TYPE_ADR: type = 'a'; break;
692 case TYPE_RET: type = 'r'; break;
696 if (index < jd->localcount) {
698 if (v->flags & (PREALLOC | OUTVAR))
699 printf("<INVALID FLAGS!>");
702 if (v->flags & PREALLOC) {
704 if (v->flags & OUTVAR)
705 printf("<INVALID FLAGS!>");
707 else if (v->flags & OUTVAR)
713 printf("%c%c%d", kind, type, index);
715 if (v->flags & SAVEDVAR)
718 if (stage >= SHOW_REGS) {
720 show_allocation(v->type, v->flags, v->vv.regoff);
727 static void new_show_variable_array(jitdata *jd, s4 *vars, int n, int stage)
732 for (i=0; i<n; ++i) {
735 show_variable(jd, vars[i], stage);
740 void new_show_icmd(jitdata *jd, instruction *iptr, bool deadcode, int stage)
743 branch_target_t *table;
744 lookup_target_t *lookup;
745 constant_FMIref *fmiref;
749 /* get the opcode and the condition */
753 printf("%s ", icmd_names[opcode]);
755 if (stage < SHOW_PARSE)
761 /* Print the condition for conditional instructions. */
763 /* XXX print condition from flags */
765 if (iptr->flags.bits & INS_FLAG_UNRESOLVED)
766 printf("(UNRESOLVED) ");
772 case ICMD_CHECKNULL_POP:
777 case ICMD_ARRAYLENGTH:
844 /* binary/const INT */
856 case ICMD_IUSHRCONST:
859 case ICMD_LUSHRCONST:
861 SHOW_INT_CONST(iptr->sx.val.i);
865 /* ?ASTORECONST (trinary/const INT) */
866 case ICMD_IASTORECONST:
867 case ICMD_BASTORECONST:
868 case ICMD_CASTORECONST:
869 case ICMD_SASTORECONST:
872 SHOW_INT_CONST(iptr->sx.s23.s3.constval);
877 SHOW_INT_CONST(iptr->sx.val.i);
881 /* binary/const LNG */
892 SHOW_LNG_CONST(iptr->sx.val.l);
896 /* trinary/const LNG (<= pointer size) */
897 case ICMD_LASTORECONST:
900 SHOW_LNG_CONST(iptr->sx.s23.s3.constval);
905 SHOW_LNG_CONST(iptr->sx.val.l);
911 SHOW_FLT_CONST(iptr->sx.val.f);
917 SHOW_DBL_CONST(iptr->sx.val.d);
923 if (iptr->flags.bits & INS_FLAG_CLASS) {
924 SHOW_CLASSREF_OR_CLASSINFO(iptr->sx.val.c);
926 else if (iptr->sx.val.anyptr == NULL) {
930 SHOW_STRING(iptr->sx.val.stringconst);
935 case ICMD_AASTORECONST:
938 printf("%p ", (void*) iptr->sx.s23.s3.constval);
941 case ICMD_GETFIELD: /* 1 -> 1 */
942 case ICMD_PUTFIELD: /* 2 -> 0 */
943 case ICMD_PUTSTATIC: /* 1 -> 0 */
944 case ICMD_GETSTATIC: /* 0 -> 1 */
945 case ICMD_PUTSTATICCONST: /* 0 -> 0 */
946 case ICMD_PUTFIELDCONST: /* 1 -> 0 */
947 if (opcode != ICMD_GETSTATIC && opcode != ICMD_PUTSTATICCONST) {
949 if (opcode == ICMD_PUTFIELD) {
953 INSTRUCTION_GET_FIELDREF(iptr, fmiref);
956 if (opcode == ICMD_GETSTATIC || opcode == ICMD_GETFIELD) {
963 SHOW_INT_CONST(iptr->sx.val.i);
964 SHOW_DST_LOCAL(iptr);
995 if (stage >= SHOW_STACK) {
996 printf(" ---> L%03d", iptr->dst.block->nr);
1005 SHOW_S1_LOCAL(iptr);
1015 SHOW_DST_LOCAL(iptr);
1026 case ICMD_ANEWARRAY:
1030 case ICMD_MULTIANEWARRAY:
1031 if (stage >= SHOW_STACK) {
1032 argp = iptr->sx.s23.s2.args;
1033 i = iptr->s1.argcount;
1035 SHOW_VARIABLE(*(argp++));
1039 printf("argcount=%d ", iptr->s1.argcount);
1044 case ICMD_CHECKCAST:
1047 class_classref_or_classinfo_print(iptr->sx.s23.s3.c);
1051 case ICMD_INSTANCEOF:
1056 case ICMD_INLINE_START:
1057 case ICMD_INLINE_END:
1061 if (stage >= SHOW_STACK) {
1062 argp = iptr->sx.s23.s2.args;
1063 i = iptr->s1.argcount;
1065 if ((iptr->s1.argcount - 1 - i) == iptr->sx.s23.s3.bte->md->paramcount)
1066 printf(" pass-through: ");
1067 SHOW_VARIABLE(*(argp++));
1070 printf("%s ", iptr->sx.s23.s3.bte->cname);
1071 if (iptr->sx.s23.s3.bte->md->returntype.type != TYPE_VOID) {
1076 case ICMD_INVOKEVIRTUAL:
1077 case ICMD_INVOKESPECIAL:
1078 case ICMD_INVOKESTATIC:
1079 case ICMD_INVOKEINTERFACE:
1080 if (stage >= SHOW_STACK) {
1082 INSTRUCTION_GET_METHODDESC(iptr, md);
1083 argp = iptr->sx.s23.s2.args;
1084 i = iptr->s1.argcount;
1086 if ((iptr->s1.argcount - 1 - i) == md->paramcount)
1087 printf(" pass-through: ");
1088 SHOW_VARIABLE(*(argp++));
1091 INSTRUCTION_GET_METHODREF(iptr, fmiref);
1092 method_methodref_print(fmiref);
1093 if (fmiref->parseddesc.md->returntype.type != TYPE_VOID) {
1106 SHOW_TARGET(iptr->dst);
1116 SHOW_TARGET(iptr->dst);
1120 case ICMD_INLINE_GOTO:
1121 SHOW_TARGET(iptr->dst);
1125 SHOW_TARGET(iptr->sx.s23.s3.jsrtarget);
1130 case ICMD_IFNONNULL:
1132 SHOW_TARGET(iptr->dst);
1135 case ICMD_IF_ICMPEQ:
1136 case ICMD_IF_ICMPNE:
1137 case ICMD_IF_ICMPLT:
1138 case ICMD_IF_ICMPGE:
1139 case ICMD_IF_ICMPGT:
1140 case ICMD_IF_ICMPLE:
1142 case ICMD_IF_LCMPEQ:
1143 case ICMD_IF_LCMPNE:
1144 case ICMD_IF_LCMPLT:
1145 case ICMD_IF_LCMPGE:
1146 case ICMD_IF_LCMPGT:
1147 case ICMD_IF_LCMPLE:
1149 case ICMD_IF_FCMPEQ:
1150 case ICMD_IF_FCMPNE:
1152 case ICMD_IF_FCMPL_LT:
1153 case ICMD_IF_FCMPL_GE:
1154 case ICMD_IF_FCMPL_GT:
1155 case ICMD_IF_FCMPL_LE:
1157 case ICMD_IF_FCMPG_LT:
1158 case ICMD_IF_FCMPG_GE:
1159 case ICMD_IF_FCMPG_GT:
1160 case ICMD_IF_FCMPG_LE:
1162 case ICMD_IF_DCMPEQ:
1163 case ICMD_IF_DCMPNE:
1165 case ICMD_IF_DCMPL_LT:
1166 case ICMD_IF_DCMPL_GE:
1167 case ICMD_IF_DCMPL_GT:
1168 case ICMD_IF_DCMPL_LE:
1170 case ICMD_IF_DCMPG_LT:
1171 case ICMD_IF_DCMPG_GE:
1172 case ICMD_IF_DCMPG_GT:
1173 case ICMD_IF_DCMPG_LE:
1175 case ICMD_IF_ACMPEQ:
1176 case ICMD_IF_ACMPNE:
1179 SHOW_TARGET(iptr->dst);
1182 case ICMD_TABLESWITCH:
1184 table = iptr->dst.table;
1186 i = iptr->sx.s23.s3.tablehigh
1187 - iptr->sx.s23.s2.tablelow + 1;
1189 printf("high=%d low=%d count=%d\n", iptr->sx.s23.s3.tablehigh, iptr->sx.s23.s2.tablelow, i);
1191 printf("\t\t%d --> ", table - iptr->dst.table);
1192 if (stage >= SHOW_STACK) {
1193 printf("L%03d\n", table->block->nr);
1196 printf("insindex %d (L%03d)\n", table->insindex, BLOCK_OF(table->insindex)->nr);
1203 case ICMD_LOOKUPSWITCH:
1206 printf("count=%d, default=", iptr->sx.s23.s2.lookupcount);
1207 if (stage >= SHOW_STACK) {
1208 printf("L%03d\n", iptr->sx.s23.s3.lookupdefault.block->nr);
1211 printf("insindex %d (L%03d)\n", iptr->sx.s23.s3.lookupdefault.insindex, BLOCK_OF(iptr->sx.s23.s3.lookupdefault.insindex)->nr);
1214 lookup = iptr->dst.lookup;
1215 i = iptr->sx.s23.s2.lookupcount;
1217 printf("\t\t%d --> ", lookup->value);
1218 if (stage >= SHOW_STACK) {
1219 printf("L%03d\n", lookup->target.block->nr);
1222 printf("insindex %d (L%03d)\n", lookup->target.insindex, BLOCK_OF(lookup->target.insindex)->nr);
1244 #endif /* !defined(NDEBUG) */
1248 * These are local overrides for various environment variables in Emacs.
1249 * Please do not remove this and leave it at the end of the file, where
1250 * Emacs will automagically detect them.
1251 * ---------------------------------------------------------------------
1254 * indent-tabs-mode: t
1258 * vim:noexpandtab:sw=4:ts=4: