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"
59 #include "vm/jit/parse.h"
62 /* global variables ***********************************************************/
64 #if defined(ENABLE_THREADS) && !defined(NDEBUG)
65 static java_objectheader *show_global_lock;
69 /* forward declarations *******************************************************/
72 static void show_allocation(s4 type, s4 flags, s4 regoff);
76 /* show_init *******************************************************************
78 Initialized the show subsystem (called by jit_init).
80 *******************************************************************************/
85 #if defined(ENABLE_THREADS)
86 /* initialize the show lock */
88 show_global_lock = NEW(java_objectheader);
90 lock_init_object_lock(show_global_lock);
101 char *show_jit_type_names[] = {
112 char show_jit_type_letters[] = {
126 /* show_method *****************************************************************
128 Print the intermediate representation of a method.
130 NOTE: Currently this function may only be called after register allocation!
132 *******************************************************************************/
135 void show_method(jitdata *jd, int stage)
142 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 #if defined(ENABLE_INTRP)
163 irstage = SHOW_PARSE;
168 /* get the last basic block */
170 for (lastbptr = jd->basicblocks; lastbptr->next != NULL; lastbptr = lastbptr->next);
176 printf("\n(NEW INSTRUCTION FORMAT)\n");
177 if (jd->isleafmethod)
178 printf("LEAFMETHOD\n");
179 printf("\nBasic blocks: %d\n", jd->basicblockcount);
180 if (stage >= SHOW_CODE) {
181 printf("Code length: %d\n", (lastbptr->mpc - jd->basicblocks[0].mpc));
182 printf("Data length: %d\n", cd->dseglen);
183 printf("Stub length: %d\n", (s4) (code->mcodelength -
184 ((ptrint) cd->dseglen + lastbptr->mpc)));
186 printf("Max locals: %d\n", cd->maxlocals);
187 printf("Max stack: %d\n", cd->maxstack);
188 printf("Line number table length: %d\n", m->linenumbercount);
190 if (stage >= SHOW_PARSE) {
191 printf("Exceptions (Number: %d):\n", jd->exceptiontablelength);
192 for (ex = jd->exceptiontable; ex != NULL; ex = ex->down) {
193 printf(" L%03d ... ", ex->start->nr );
194 printf("L%03d = ", ex->end->nr);
195 printf("L%03d", ex->handler->nr);
196 printf(" (catchtype: ");
197 if (ex->catchtype.any)
198 if (IS_CLASSREF(ex->catchtype))
199 class_classref_print(ex->catchtype.ref);
201 class_print(ex->catchtype.cls);
208 if (irstage >= SHOW_PARSE && rd && jd->localcount > 0) {
209 printf("Local Table:\n");
210 for (i = 0; i < jd->localcount; i++) {
213 #if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
214 # if defined(ENABLE_INTRP)
217 printf(" (%s) ", show_jit_type_names[VAR(i)->type]);
218 if (irstage >= SHOW_REGS)
219 show_allocation(VAR(i)->type, VAR(i)->flags, VAR(i)->vv.regoff);
221 # if defined(ENABLE_INTRP)
224 #endif /* defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER) */
229 if (cd->maxlocals > 0) {
230 printf("Local Map:\n");
232 for (j = 0; j < cd->maxlocals; j++) {
236 for (i = 0; i < 5; i++) {
237 printf(" %5s ",show_jit_type_names[i]);
238 for (j = 0; j < cd->maxlocals; j++) {
239 if (jd->local_map[j*5+i] == UNUSED)
242 printf("%4i ",jd->local_map[j*5+i]);
249 if (cd->maxstack > 0 && jd->interface_map && irstage >= SHOW_STACK) {
251 interface_info *mapptr = jd->interface_map;
253 /* look if there exist any INOUTS */
254 for (i = 0; (i < (5 * cd->maxstack)) && !exist; i++, mapptr++)
255 exist = (mapptr->flags != UNUSED);
258 printf("Interface Table: (In/Outvars)\n");
260 for (j = 0; j < cd->maxstack; j++) {
265 for (i = 0; i < 5; i++) {
266 printf(" %5s ",show_jit_type_names[i]);
267 for (j = 0; j < cd->maxstack; j++) {
268 s4 flags = jd->interface_map[j*5+i].flags;
269 s4 regoff = jd->interface_map[j*5+i].regoff;
275 if (irstage >= SHOW_REGS) {
276 if (flags & SAVEDVAR) {
277 if (flags & INMEMORY)
283 if (flags & INMEMORY)
288 printf("%c%03d(", ch, regoff);
289 show_allocation(i, flags, regoff);
293 if (flags & SAVEDVAR)
306 if (rd->memuse && irstage >= SHOW_REGS) {
310 printf("Stack slots: (memuse=%d", rd->memuse);
311 if (irstage >= SHOW_CODE) {
312 printf(", stackframesize=%d", cd->stackframesize);
313 max = cd->stackframesize;
316 for (i=0; i<max; ++i) {
317 #if defined(HAS_4BYTE_STACKSLOT)
318 printf(" M%02d = 0x%02x(sp): ", i, i * 4);
320 printf(" M%02d = 0x%02x(sp): ", i, i * 8);
322 for (j=0; j<jd->varcount; ++j) {
324 if ((v->flags & INMEMORY) && (v->vv.regoff == i)) {
325 show_variable(jd, j, irstage);
336 if (code->rplpoints) {
337 printf("Replacement Points:\n");
338 replace_show_replacement_points(code);
342 #if defined(ENABLE_DISASSEMBLER)
343 /* show code before first basic block */
345 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd)) {
346 u1ptr = (u1 *) ((ptrint) code->mcode + cd->dseglen);
348 for (; u1ptr < (u1 *) ((ptrint) code->mcode + cd->dseglen + jd->basicblocks[0].mpc);)
355 /* show code of all basic blocks */
357 for (bptr = jd->basicblocks; bptr != NULL; bptr = bptr->next)
358 show_basicblock(jd, bptr, stage);
360 #if defined(ENABLE_DISASSEMBLER)
361 /* show stubs code */
363 if (stage >= SHOW_CODE && opt_showdisassemble && opt_showexceptionstubs) {
364 printf("\nStubs code:\n");
365 printf("Length: %d\n\n", (s4) (code->mcodelength -
366 ((ptrint) cd->dseglen + lastbptr->mpc)));
368 u1ptr = (u1 *) ((ptrint) code->mcode + cd->dseglen + lastbptr->mpc);
370 for (; (ptrint) u1ptr < ((ptrint) code->mcode + code->mcodelength);)
377 LOCK_MONITOR_EXIT(show_global_lock);
379 /* finally flush the output */
383 #endif /* !defined(NDEBUG) */
386 /* show_basicblock *************************************************************
388 Print the intermediate representation of a basic block.
390 NOTE: Currently this function may only be called after register allocation!
392 *******************************************************************************/
395 void show_basicblock(jitdata *jd, basicblock *bptr, int stage)
406 /* get required compiler data */
412 if (bptr->flags != BBDELETED) {
413 #if defined(ENABLE_INTRP)
416 irstage = SHOW_PARSE;
421 deadcode = (bptr->flags < BBREACHED);
425 printf("======== %sL%03d ======== %s(flags: %d, bitflags: %01x, next: %d, type: ",
426 (bptr->bitflags & BBFLAG_REPLACEMENT) ? "<REPLACE> " : "",
428 (deadcode && stage >= SHOW_STACK) ? "DEADCODE! " : "",
429 bptr->flags, bptr->bitflags,
430 (bptr->next) ? (bptr->next->nr) : -1);
432 switch (bptr->type) {
444 printf(", icount: %d", bptr->icount);
446 if (irstage >= SHOW_CFG) {
447 printf(", preds: %d [ ", bptr->predecessorcount);
449 for (i = 0; i < bptr->predecessorcount; i++)
450 printf("%d ", bptr->predecessors[i]->nr);
458 printf(" (clone of L%03d)", bptr->original->nr);
460 basicblock *b = bptr->copied_to;
462 printf(" (copied to ");
463 for (; b; b = b->copied_to)
464 printf("L%03d ", b->nr);
471 if (irstage >= SHOW_STACK) {
473 show_variable_array(jd, bptr->invars, bptr->indepth, irstage);
479 for (i = 0; i < bptr->icount; i++, iptr++) {
480 printf("%4d: ", iptr->line);
482 show_icmd(jd, iptr, deadcode, irstage);
486 if (irstage >= SHOW_STACK) {
488 show_variable_array(jd, bptr->outvars, bptr->outdepth, irstage);
492 #if defined(ENABLE_DISASSEMBLER)
493 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd) &&
497 u1ptr = (u1 *) (code->mcode + cd->dseglen + bptr->mpc);
499 if (bptr->next != NULL) {
500 for (; u1ptr < (u1 *) (code->mcode + cd->dseglen + bptr->next->mpc);)
505 for (; u1ptr < (u1 *) (code->mcode + code->mcodelength);)
513 #endif /* !defined(NDEBUG) */
516 /* show_icmd *******************************************************************
518 Print the intermediate representation of an instruction.
520 NOTE: Currently this function may only be called after register allocation!
522 *******************************************************************************/
526 #define SHOW_TARGET(target) \
527 if (stage >= SHOW_STACK) { \
528 printf("--> L%03d ", (target).block->nr); \
530 else if (stage >= SHOW_PARSE) { \
531 printf("--> insindex %d (L%03d) ", (target).insindex, \
532 jd->basicblocks[jd->basicblockindex[ \
533 (target).insindex]].nr); \
536 printf("--> insindex %d ", (target).insindex); \
539 #define SHOW_INT_CONST(val) \
540 if (stage >= SHOW_PARSE) { \
541 printf("%ld ", (long) (val)); \
547 #define SHOW_LNG_CONST(val) \
548 if (stage >= SHOW_PARSE) { \
549 printf("%lld ", (long long)(val)); \
555 #define SHOW_FLT_CONST(val) \
556 if (stage >= SHOW_PARSE) { \
557 printf("%g ", (val)); \
563 #define SHOW_DBL_CONST(val) \
564 if (stage >= SHOW_PARSE) { \
565 printf("%g ", (val)); \
571 #define SHOW_INDEX(index) \
572 if (stage >= SHOW_PARSE) { \
573 printf("%d ", index); \
579 #define SHOW_STRING(val) \
580 if (stage >= SHOW_PARSE) { \
582 utf_display_printable_ascii( \
583 javastring_toutf((java_lang_String *)(val), false)); \
590 #define SHOW_CLASSREF_OR_CLASSINFO(c) \
591 if (stage >= SHOW_PARSE) { \
592 if (IS_CLASSREF(c)) \
593 class_classref_print(c.ref); \
595 class_print(c.cls); \
602 #define SHOW_FIELD(fmiref) \
603 if (stage >= SHOW_PARSE) { \
604 field_fieldref_print(fmiref); \
611 #define SHOW_VARIABLE(v) \
612 show_variable(jd, (v), stage)
614 #define SHOW_S1(iptr) \
615 if (stage >= SHOW_STACK) { \
616 SHOW_VARIABLE(iptr->s1.varindex); \
619 #define SHOW_S2(iptr) \
620 if (stage >= SHOW_STACK) { \
621 SHOW_VARIABLE(iptr->sx.s23.s2.varindex); \
624 #define SHOW_S3(iptr) \
625 if (stage >= SHOW_STACK) { \
626 SHOW_VARIABLE(iptr->sx.s23.s3.varindex); \
629 #define SHOW_DST(iptr) \
630 if (stage >= SHOW_STACK) { \
632 SHOW_VARIABLE(iptr->dst.varindex); \
635 #define SHOW_S1_LOCAL(iptr) \
636 if (stage >= SHOW_STACK) { \
637 printf("L%d ", iptr->s1.varindex); \
640 printf("JavaL%d ", iptr->s1.varindex); \
643 #define SHOW_DST_LOCAL(iptr) \
644 if (stage >= SHOW_STACK) { \
645 printf("=> L%d ", iptr->dst.varindex); \
648 printf("=> JavaL%d ", iptr->dst.varindex); \
651 static void show_allocation(s4 type, s4 flags, s4 regoff)
653 if (flags & INMEMORY) {
654 printf("M%02d", regoff);
658 #ifdef HAS_ADDRESS_REGISTER_FILE
659 if (type == TYPE_ADR) {
660 printf("R%02d", regoff);
665 if (IS_FLT_DBL_TYPE(type)) {
666 printf("F%02d", regoff);
670 #if defined(SUPPORT_COMBINE_INTEGER_REGISTERS)
671 if (IS_2_WORD_TYPE(type)) {
672 # if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
673 # if defined(ENABLE_INTRP)
675 printf("%3d/%3d", GET_LOW_REG(regoff),
676 GET_HIGH_REG(regoff));
679 printf("%3s/%3s", regs[GET_LOW_REG(regoff)],
680 regs[GET_HIGH_REG(regoff)]);
682 printf("%3d/%3d", GET_LOW_REG(regoff),
683 GET_HIGH_REG(regoff));
687 #endif /* defined(SUPPORT_COMBINE_INTEGER_REGISTERS) */
689 #if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
690 # if defined(ENABLE_INTRP)
692 printf("%3d", regoff);
695 printf("%3s", regs[regoff]);
697 printf("%3d", regoff);
701 void show_variable(jitdata *jd, s4 index, int stage)
710 case TYPE_INT: type = 'i'; break;
711 case TYPE_LNG: type = 'l'; break;
712 case TYPE_FLT: type = 'f'; break;
713 case TYPE_DBL: type = 'd'; break;
714 case TYPE_ADR: type = 'a'; break;
715 case TYPE_RET: type = 'r'; break;
719 if (index < jd->localcount) {
721 if (v->flags & (PREALLOC | INOUT))
722 printf("<INVALID FLAGS!>");
725 if (v->flags & PREALLOC) {
727 if (v->flags & INOUT)
728 printf("<INVALID FLAGS!>");
730 else if (v->flags & INOUT)
736 printf("%c%c%d", kind, type, index);
738 if (v->flags & SAVEDVAR)
741 if (stage >= SHOW_REGS) {
743 show_allocation(v->type, v->flags, v->vv.regoff);
750 void show_variable_array(jitdata *jd, s4 *vars, int n, int stage)
755 for (i=0; i<n; ++i) {
758 show_variable(jd, vars[i], stage);
763 void show_icmd(jitdata *jd, instruction *iptr, bool deadcode, int stage)
766 branch_target_t *table;
767 lookup_target_t *lookup;
768 constant_FMIref *fmiref;
772 /* get the opcode and the condition */
776 printf("%s ", icmd_table[opcode].name);
778 if (stage < SHOW_PARSE)
784 /* Print the condition for conditional instructions. */
786 /* XXX print condition from flags */
788 if (iptr->flags.bits & INS_FLAG_UNRESOLVED)
789 printf("(UNRESOLVED) ");
795 case ICMD_CHECKNULL_POP:
800 case ICMD_ARRAYLENGTH:
867 /* binary/const INT */
879 case ICMD_IUSHRCONST:
882 case ICMD_LUSHRCONST:
884 SHOW_INT_CONST(iptr->sx.val.i);
888 /* ?ASTORECONST (trinary/const INT) */
889 case ICMD_IASTORECONST:
890 case ICMD_BASTORECONST:
891 case ICMD_CASTORECONST:
892 case ICMD_SASTORECONST:
895 SHOW_INT_CONST(iptr->sx.s23.s3.constval);
900 SHOW_INT_CONST(iptr->sx.val.i);
904 /* binary/const LNG */
915 SHOW_LNG_CONST(iptr->sx.val.l);
919 /* trinary/const LNG (<= pointer size) */
920 case ICMD_LASTORECONST:
923 SHOW_LNG_CONST(iptr->sx.s23.s3.constval);
928 SHOW_LNG_CONST(iptr->sx.val.l);
934 SHOW_FLT_CONST(iptr->sx.val.f);
940 SHOW_DBL_CONST(iptr->sx.val.d);
946 if (iptr->flags.bits & INS_FLAG_CLASS) {
947 SHOW_CLASSREF_OR_CLASSINFO(iptr->sx.val.c);
949 else if (iptr->sx.val.anyptr == NULL) {
953 SHOW_STRING(iptr->sx.val.stringconst);
958 case ICMD_AASTORECONST:
961 printf("%p ", (void*) iptr->sx.s23.s3.constval);
964 case ICMD_GETFIELD: /* 1 -> 1 */
965 case ICMD_PUTFIELD: /* 2 -> 0 */
966 case ICMD_PUTSTATIC: /* 1 -> 0 */
967 case ICMD_GETSTATIC: /* 0 -> 1 */
968 case ICMD_PUTSTATICCONST: /* 0 -> 0 */
969 case ICMD_PUTFIELDCONST: /* 1 -> 0 */
970 if (opcode != ICMD_GETSTATIC && opcode != ICMD_PUTSTATICCONST) {
972 if (opcode == ICMD_PUTFIELD) {
976 INSTRUCTION_GET_FIELDREF(iptr, fmiref);
979 if (opcode == ICMD_GETSTATIC || opcode == ICMD_GETFIELD) {
986 SHOW_INT_CONST(iptr->sx.val.i);
987 SHOW_DST_LOCAL(iptr);
1017 SHOW_S1_LOCAL(iptr);
1018 if (stage >= SHOW_STACK) {
1019 printf(" ---> L%03d", iptr->dst.block->nr);
1028 SHOW_S1_LOCAL(iptr);
1038 SHOW_DST_LOCAL(iptr);
1049 case ICMD_ANEWARRAY:
1053 case ICMD_MULTIANEWARRAY:
1054 if (stage >= SHOW_STACK) {
1055 argp = iptr->sx.s23.s2.args;
1056 i = iptr->s1.argcount;
1058 SHOW_VARIABLE(*(argp++));
1062 printf("argcount=%d ", iptr->s1.argcount);
1067 case ICMD_CHECKCAST:
1070 class_classref_or_classinfo_print(iptr->sx.s23.s3.c);
1074 case ICMD_INSTANCEOF:
1079 case ICMD_INLINE_START:
1080 case ICMD_INLINE_END:
1084 if (stage >= SHOW_STACK) {
1085 argp = iptr->sx.s23.s2.args;
1086 i = iptr->s1.argcount;
1088 if ((iptr->s1.argcount - 1 - i) == iptr->sx.s23.s3.bte->md->paramcount)
1089 printf(" pass-through: ");
1090 SHOW_VARIABLE(*(argp++));
1093 printf("%s ", iptr->sx.s23.s3.bte->cname);
1094 if (iptr->sx.s23.s3.bte->md->returntype.type != TYPE_VOID) {
1099 case ICMD_INVOKEVIRTUAL:
1100 case ICMD_INVOKESPECIAL:
1101 case ICMD_INVOKESTATIC:
1102 case ICMD_INVOKEINTERFACE:
1103 if (stage >= SHOW_STACK) {
1105 INSTRUCTION_GET_METHODDESC(iptr, md);
1106 argp = iptr->sx.s23.s2.args;
1107 i = iptr->s1.argcount;
1109 if ((iptr->s1.argcount - 1 - i) == md->paramcount)
1110 printf(" pass-through: ");
1111 SHOW_VARIABLE(*(argp++));
1114 INSTRUCTION_GET_METHODREF(iptr, fmiref);
1115 method_methodref_print(fmiref);
1116 if (fmiref->parseddesc.md->returntype.type != TYPE_VOID) {
1129 SHOW_INT_CONST(iptr->sx.val.i);
1130 SHOW_TARGET(iptr->dst);
1140 SHOW_LNG_CONST(iptr->sx.val.l);
1141 SHOW_TARGET(iptr->dst);
1145 case ICMD_INLINE_GOTO:
1146 SHOW_TARGET(iptr->dst);
1150 SHOW_TARGET(iptr->sx.s23.s3.jsrtarget);
1155 case ICMD_IFNONNULL:
1157 SHOW_TARGET(iptr->dst);
1160 case ICMD_IF_ICMPEQ:
1161 case ICMD_IF_ICMPNE:
1162 case ICMD_IF_ICMPLT:
1163 case ICMD_IF_ICMPGE:
1164 case ICMD_IF_ICMPGT:
1165 case ICMD_IF_ICMPLE:
1167 case ICMD_IF_LCMPEQ:
1168 case ICMD_IF_LCMPNE:
1169 case ICMD_IF_LCMPLT:
1170 case ICMD_IF_LCMPGE:
1171 case ICMD_IF_LCMPGT:
1172 case ICMD_IF_LCMPLE:
1174 case ICMD_IF_FCMPEQ:
1175 case ICMD_IF_FCMPNE:
1177 case ICMD_IF_FCMPL_LT:
1178 case ICMD_IF_FCMPL_GE:
1179 case ICMD_IF_FCMPL_GT:
1180 case ICMD_IF_FCMPL_LE:
1182 case ICMD_IF_FCMPG_LT:
1183 case ICMD_IF_FCMPG_GE:
1184 case ICMD_IF_FCMPG_GT:
1185 case ICMD_IF_FCMPG_LE:
1187 case ICMD_IF_DCMPEQ:
1188 case ICMD_IF_DCMPNE:
1190 case ICMD_IF_DCMPL_LT:
1191 case ICMD_IF_DCMPL_GE:
1192 case ICMD_IF_DCMPL_GT:
1193 case ICMD_IF_DCMPL_LE:
1195 case ICMD_IF_DCMPG_LT:
1196 case ICMD_IF_DCMPG_GE:
1197 case ICMD_IF_DCMPG_GT:
1198 case ICMD_IF_DCMPG_LE:
1200 case ICMD_IF_ACMPEQ:
1201 case ICMD_IF_ACMPNE:
1204 SHOW_TARGET(iptr->dst);
1207 case ICMD_TABLESWITCH:
1209 table = iptr->dst.table;
1211 i = iptr->sx.s23.s3.tablehigh
1212 - iptr->sx.s23.s2.tablelow + 1;
1214 printf("high=%d low=%d count=%d\n", iptr->sx.s23.s3.tablehigh, iptr->sx.s23.s2.tablelow, i);
1216 printf("\t\t%d --> ", table - iptr->dst.table);
1217 if (stage >= SHOW_STACK) {
1218 printf("L%03d\n", table->block->nr);
1221 printf("insindex %d (L%03d)\n", table->insindex, BLOCK_OF(table->insindex)->nr);
1228 case ICMD_LOOKUPSWITCH:
1231 printf("count=%d, default=", iptr->sx.s23.s2.lookupcount);
1232 if (stage >= SHOW_STACK) {
1233 printf("L%03d\n", iptr->sx.s23.s3.lookupdefault.block->nr);
1236 printf("insindex %d (L%03d)\n", iptr->sx.s23.s3.lookupdefault.insindex, BLOCK_OF(iptr->sx.s23.s3.lookupdefault.insindex)->nr);
1239 lookup = iptr->dst.lookup;
1240 i = iptr->sx.s23.s2.lookupcount;
1242 printf("\t\t%d --> ", lookup->value);
1243 if (stage >= SHOW_STACK) {
1244 printf("L%03d\n", lookup->target.block->nr);
1247 printf("insindex %d (L%03d)\n", lookup->target.insindex, BLOCK_OF(lookup->target.insindex)->nr);
1273 #endif /* !defined(NDEBUG) */
1277 * These are local overrides for various environment variables in Emacs.
1278 * Please do not remove this and leave it at the end of the file, where
1279 * Emacs will automagically detect them.
1280 * ---------------------------------------------------------------------
1283 * indent-tabs-mode: t
1287 * vim:noexpandtab:sw=4:ts=4: