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 show_allocation(s4 type, s4 flags, s4 regoff);
75 /* show_init *******************************************************************
77 Initialized the show subsystem (called by jit_init).
79 *******************************************************************************/
84 #if defined(ENABLE_THREADS)
85 /* initialize the show lock */
87 show_global_lock = NEW(java_objectheader);
89 lock_init_object_lock(show_global_lock);
100 char *show_jit_type_names[] = {
111 char show_jit_type_letters[] = {
125 /* show_method *****************************************************************
127 Print the intermediate representation of a method.
129 NOTE: Currently this function may only be called after register allocation!
131 *******************************************************************************/
134 void show_method(jitdata *jd, int stage)
141 basicblock *lastbptr;
147 /* get required compiler data */
154 /* We need to enter a lock here, since the binutils disassembler
155 is not reentrant-able and we could not read functions printed
158 LOCK_MONITOR_ENTER(show_global_lock);
160 #if defined(ENABLE_INTRP)
162 irstage = SHOW_PARSE;
167 /* get the last basic block */
169 for (lastbptr = jd->basicblocks; lastbptr->next != NULL; lastbptr = lastbptr->next);
175 printf("\n(NEW INSTRUCTION FORMAT)\n");
176 if (jd->isleafmethod)
177 printf("LEAFMETHOD\n");
178 printf("\nBasic blocks: %d\n", jd->basicblockcount);
179 if (stage >= SHOW_CODE) {
180 printf("Code length: %d\n", (lastbptr->mpc - jd->basicblocks[0].mpc));
181 printf("Data length: %d\n", cd->dseglen);
182 printf("Stub length: %d\n", (s4) (code->mcodelength -
183 ((ptrint) cd->dseglen + lastbptr->mpc)));
185 printf("Max locals: %d\n", cd->maxlocals);
186 printf("Max stack: %d\n", cd->maxstack);
187 printf("Line number table length: %d\n", m->linenumbercount);
189 if (stage >= SHOW_PARSE) {
190 printf("Exceptions (Number: %d):\n", cd->exceptiontablelength);
191 for (ex = cd->exceptiontable; ex != NULL; ex = ex->down) {
192 printf(" L%03d ... ", ex->start->nr );
193 printf("L%03d = ", ex->end->nr);
194 printf("L%03d", ex->handler->nr);
195 printf(" (catchtype: ");
196 if (ex->catchtype.any)
197 if (IS_CLASSREF(ex->catchtype))
198 class_classref_print(ex->catchtype.ref);
200 class_print(ex->catchtype.cls);
207 if (irstage >= SHOW_PARSE && rd && jd->localcount > 0) {
208 printf("Local Table:\n");
209 for (i = 0; i < jd->localcount; i++) {
212 #if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
213 # if defined(ENABLE_INTRP)
216 printf(" (%s) ", show_jit_type_names[VAR(i)->type]);
217 if (irstage >= SHOW_REGS)
218 show_allocation(VAR(i)->type, VAR(i)->flags, VAR(i)->vv.regoff);
220 # if defined(ENABLE_INTRP)
223 #endif /* defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER) */
228 if (cd->maxlocals > 0) {
229 printf("Local Map:\n");
231 for (j = 0; j < cd->maxlocals; j++) {
235 for (i = 0; i < 5; i++) {
236 printf(" %5s ",show_jit_type_names[i]);
237 for (j = 0; j < cd->maxlocals; j++) {
238 if (jd->local_map[j*5+i] == UNUSED)
241 printf("%4i ",jd->local_map[j*5+i]);
248 if (cd->maxstack > 0 && jd->interface_map && irstage >= SHOW_STACK) {
250 interface_info *mapptr = jd->interface_map;
252 /* look if there exist any INOUTS */
253 for (i = 0; (i < (5 * cd->maxstack)) && !exist; i++, mapptr++)
254 exist = (mapptr->flags != UNUSED);
257 printf("Interface Table: (In/Outvars)\n");
259 for (j = 0; j < cd->maxstack; j++) {
264 for (i = 0; i < 5; i++) {
265 printf(" %5s ",show_jit_type_names[i]);
266 for (j = 0; j < cd->maxstack; j++) {
267 s4 flags = jd->interface_map[j*5+i].flags;
268 s4 regoff = jd->interface_map[j*5+i].regoff;
274 if (irstage >= SHOW_REGS) {
275 if (flags & SAVEDVAR) {
276 if (flags & INMEMORY)
282 if (flags & INMEMORY)
287 printf("%c%03d(", ch, regoff);
288 show_allocation(i, flags, regoff);
292 if (flags & SAVEDVAR)
305 if (rd->memuse && irstage >= SHOW_REGS) {
309 printf("Stack slots: (memuse=%d", rd->memuse);
310 if (irstage >= SHOW_CODE) {
311 printf(", stackframesize=%d", cd->stackframesize);
312 max = cd->stackframesize;
315 for (i=0; i<max; ++i) {
316 #if defined(HAS_4BYTE_STACKSLOT)
317 printf(" M%02d = 0x%02x(sp): ", i, i * 4);
319 printf(" M%02d = 0x%02x(sp): ", i, i * 8);
321 for (j=0; j<jd->varcount; ++j) {
323 if ((v->flags & INMEMORY) && (v->vv.regoff == i)) {
324 show_variable(jd, j, irstage);
335 if (code->rplpoints) {
336 printf("Replacement Points:\n");
337 replace_show_replacement_points(code);
341 #if defined(ENABLE_DISASSEMBLER)
342 /* show code before first basic block */
344 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd)) {
345 u1ptr = (u1 *) ((ptrint) code->mcode + cd->dseglen);
347 for (; u1ptr < (u1 *) ((ptrint) code->mcode + cd->dseglen + jd->basicblocks[0].mpc);)
354 /* show code of all basic blocks */
356 for (bptr = jd->basicblocks; bptr != NULL; bptr = bptr->next)
357 show_basicblock(jd, bptr, stage);
359 #if defined(ENABLE_DISASSEMBLER)
360 /* show stubs code */
362 if (stage >= SHOW_CODE && opt_showdisassemble && opt_showexceptionstubs) {
363 printf("\nStubs code:\n");
364 printf("Length: %d\n\n", (s4) (code->mcodelength -
365 ((ptrint) cd->dseglen + lastbptr->mpc)));
367 u1ptr = (u1 *) ((ptrint) code->mcode + cd->dseglen + lastbptr->mpc);
369 for (; (ptrint) u1ptr < ((ptrint) code->mcode + code->mcodelength);)
376 LOCK_MONITOR_EXIT(show_global_lock);
378 /* finally flush the output */
382 #endif /* !defined(NDEBUG) */
385 /* show_basicblock *************************************************************
387 Print the intermediate representation of a basic block.
389 NOTE: Currently this function may only be called after register allocation!
391 *******************************************************************************/
394 void show_basicblock(jitdata *jd, basicblock *bptr, int stage)
405 /* get required compiler data */
411 if (bptr->flags != BBDELETED) {
412 #if defined(ENABLE_INTRP)
415 irstage = SHOW_PARSE;
420 deadcode = (bptr->flags < BBREACHED);
424 printf("======== %sL%03d ======== %s(flags: %d, bitflags: %01x, next: %d, type: ",
425 (bptr->bitflags & BBFLAG_REPLACEMENT) ? "<REPLACE> " : "",
427 (deadcode && stage >= SHOW_STACK) ? "DEADCODE! " : "",
428 bptr->flags, bptr->bitflags,
429 (bptr->next) ? (bptr->next->nr) : -1);
431 switch (bptr->type) {
443 printf(", icount: %d", bptr->icount);
445 if (irstage >= SHOW_CFG) {
446 printf(", preds: %d [ ", bptr->predecessorcount);
448 for (i = 0; i < bptr->predecessorcount; i++)
449 printf("%d ", bptr->predecessors[i]->nr);
457 printf(" (clone of L%03d)", bptr->original->nr);
459 basicblock *b = bptr->copied_to;
461 printf(" (copied to ");
462 for (; b; b = b->copied_to)
463 printf("L%03d ", b->nr);
470 if (irstage >= SHOW_STACK) {
472 show_variable_array(jd, bptr->invars, bptr->indepth, irstage);
478 for (i = 0; i < bptr->icount; i++, iptr++) {
479 printf("%4d: ", iptr->line);
481 show_icmd(jd, iptr, deadcode, irstage);
485 if (irstage >= SHOW_STACK) {
487 show_variable_array(jd, bptr->outvars, bptr->outdepth, irstage);
491 #if defined(ENABLE_DISASSEMBLER)
492 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd) &&
496 u1ptr = (u1 *) (code->mcode + cd->dseglen + bptr->mpc);
498 if (bptr->next != NULL) {
499 for (; u1ptr < (u1 *) (code->mcode + cd->dseglen + bptr->next->mpc);)
504 for (; u1ptr < (u1 *) (code->mcode + code->mcodelength);)
512 #endif /* !defined(NDEBUG) */
515 /* show_icmd *******************************************************************
517 Print the intermediate representation of an instruction.
519 NOTE: Currently this function may only be called after register allocation!
521 *******************************************************************************/
525 #define SHOW_TARGET(target) \
526 if (stage >= SHOW_STACK) { \
527 printf("--> L%03d ", (target).block->nr); \
529 else if (stage >= SHOW_PARSE) { \
530 printf("--> insindex %d (L%03d) ", (target).insindex, \
531 jd->basicblocks[jd->basicblockindex[ \
532 (target).insindex]].nr); \
535 printf("--> insindex %d ", (target).insindex); \
538 #define SHOW_INT_CONST(val) \
539 if (stage >= SHOW_PARSE) { \
540 printf("%ld ", (long) (val)); \
546 #define SHOW_LNG_CONST(val) \
547 if (stage >= SHOW_PARSE) { \
548 printf("%lld ", (long long)(val)); \
554 #define SHOW_FLT_CONST(val) \
555 if (stage >= SHOW_PARSE) { \
556 printf("%g ", (val)); \
562 #define SHOW_DBL_CONST(val) \
563 if (stage >= SHOW_PARSE) { \
564 printf("%g ", (val)); \
570 #define SHOW_INDEX(index) \
571 if (stage >= SHOW_PARSE) { \
572 printf("%d ", index); \
578 #define SHOW_STRING(val) \
579 if (stage >= SHOW_PARSE) { \
581 utf_display_printable_ascii( \
582 javastring_toutf((java_lang_String *)(val), false)); \
589 #define SHOW_CLASSREF_OR_CLASSINFO(c) \
590 if (stage >= SHOW_PARSE) { \
591 if (IS_CLASSREF(c)) \
592 class_classref_print(c.ref); \
594 class_print(c.cls); \
601 #define SHOW_FIELD(fmiref) \
602 if (stage >= SHOW_PARSE) { \
603 field_fieldref_print(fmiref); \
610 #define SHOW_VARIABLE(v) \
611 show_variable(jd, (v), stage)
613 #define SHOW_S1(iptr) \
614 if (stage >= SHOW_STACK) { \
615 SHOW_VARIABLE(iptr->s1.varindex); \
618 #define SHOW_S2(iptr) \
619 if (stage >= SHOW_STACK) { \
620 SHOW_VARIABLE(iptr->sx.s23.s2.varindex); \
623 #define SHOW_S3(iptr) \
624 if (stage >= SHOW_STACK) { \
625 SHOW_VARIABLE(iptr->sx.s23.s3.varindex); \
628 #define SHOW_DST(iptr) \
629 if (stage >= SHOW_STACK) { \
631 SHOW_VARIABLE(iptr->dst.varindex); \
634 #define SHOW_S1_LOCAL(iptr) \
635 if (stage >= SHOW_STACK) { \
636 printf("L%d ", iptr->s1.varindex); \
639 printf("JavaL%d ", iptr->s1.varindex); \
642 #define SHOW_DST_LOCAL(iptr) \
643 if (stage >= SHOW_STACK) { \
644 printf("=> L%d ", iptr->dst.varindex); \
647 printf("=> JavaL%d ", iptr->dst.varindex); \
650 static void show_allocation(s4 type, s4 flags, s4 regoff)
652 if (flags & INMEMORY) {
653 printf("M%02d", regoff);
657 #ifdef HAS_ADDRESS_REGISTER_FILE
658 if (type == TYPE_ADR) {
659 printf("R%02d", regoff);
664 if (IS_FLT_DBL_TYPE(type)) {
665 printf("F%02d", regoff);
669 #if defined(SUPPORT_COMBINE_INTEGER_REGISTERS)
670 if (IS_2_WORD_TYPE(type)) {
671 # if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
672 # if defined(ENABLE_INTRP)
674 printf("%3d/%3d", GET_LOW_REG(regoff),
675 GET_HIGH_REG(regoff));
678 printf("%3s/%3s", regs[GET_LOW_REG(regoff)],
679 regs[GET_HIGH_REG(regoff)]);
681 printf("%3d/%3d", GET_LOW_REG(regoff),
682 GET_HIGH_REG(regoff));
686 #endif /* defined(SUPPORT_COMBINE_INTEGER_REGISTERS) */
688 #if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
689 # if defined(ENABLE_INTRP)
691 printf("%3d", regoff);
694 printf("%3s", regs[regoff]);
696 printf("%3d", regoff);
700 void show_variable(jitdata *jd, s4 index, int stage)
709 case TYPE_INT: type = 'i'; break;
710 case TYPE_LNG: type = 'l'; break;
711 case TYPE_FLT: type = 'f'; break;
712 case TYPE_DBL: type = 'd'; break;
713 case TYPE_ADR: type = 'a'; break;
714 case TYPE_RET: type = 'r'; break;
718 if (index < jd->localcount) {
720 if (v->flags & (PREALLOC | INOUT))
721 printf("<INVALID FLAGS!>");
724 if (v->flags & PREALLOC) {
726 if (v->flags & INOUT)
727 printf("<INVALID FLAGS!>");
729 else if (v->flags & INOUT)
735 printf("%c%c%d", kind, type, index);
737 if (v->flags & SAVEDVAR)
740 if (stage >= SHOW_REGS) {
742 show_allocation(v->type, v->flags, v->vv.regoff);
749 void show_variable_array(jitdata *jd, s4 *vars, int n, int stage)
754 for (i=0; i<n; ++i) {
757 show_variable(jd, vars[i], stage);
762 void show_icmd(jitdata *jd, instruction *iptr, bool deadcode, int stage)
765 branch_target_t *table;
766 lookup_target_t *lookup;
767 constant_FMIref *fmiref;
771 /* get the opcode and the condition */
775 printf("%s ", icmd_names[opcode]);
777 if (stage < SHOW_PARSE)
783 /* Print the condition for conditional instructions. */
785 /* XXX print condition from flags */
787 if (iptr->flags.bits & INS_FLAG_UNRESOLVED)
788 printf("(UNRESOLVED) ");
794 case ICMD_CHECKNULL_POP:
799 case ICMD_ARRAYLENGTH:
866 /* binary/const INT */
878 case ICMD_IUSHRCONST:
881 case ICMD_LUSHRCONST:
883 SHOW_INT_CONST(iptr->sx.val.i);
887 /* ?ASTORECONST (trinary/const INT) */
888 case ICMD_IASTORECONST:
889 case ICMD_BASTORECONST:
890 case ICMD_CASTORECONST:
891 case ICMD_SASTORECONST:
894 SHOW_INT_CONST(iptr->sx.s23.s3.constval);
899 SHOW_INT_CONST(iptr->sx.val.i);
903 /* binary/const LNG */
914 SHOW_LNG_CONST(iptr->sx.val.l);
918 /* trinary/const LNG (<= pointer size) */
919 case ICMD_LASTORECONST:
922 SHOW_LNG_CONST(iptr->sx.s23.s3.constval);
927 SHOW_LNG_CONST(iptr->sx.val.l);
933 SHOW_FLT_CONST(iptr->sx.val.f);
939 SHOW_DBL_CONST(iptr->sx.val.d);
945 if (iptr->flags.bits & INS_FLAG_CLASS) {
946 SHOW_CLASSREF_OR_CLASSINFO(iptr->sx.val.c);
948 else if (iptr->sx.val.anyptr == NULL) {
952 SHOW_STRING(iptr->sx.val.stringconst);
957 case ICMD_AASTORECONST:
960 printf("%p ", (void*) iptr->sx.s23.s3.constval);
963 case ICMD_GETFIELD: /* 1 -> 1 */
964 case ICMD_PUTFIELD: /* 2 -> 0 */
965 case ICMD_PUTSTATIC: /* 1 -> 0 */
966 case ICMD_GETSTATIC: /* 0 -> 1 */
967 case ICMD_PUTSTATICCONST: /* 0 -> 0 */
968 case ICMD_PUTFIELDCONST: /* 1 -> 0 */
969 if (opcode != ICMD_GETSTATIC && opcode != ICMD_PUTSTATICCONST) {
971 if (opcode == ICMD_PUTFIELD) {
975 INSTRUCTION_GET_FIELDREF(iptr, fmiref);
978 if (opcode == ICMD_GETSTATIC || opcode == ICMD_GETFIELD) {
985 SHOW_INT_CONST(iptr->sx.val.i);
986 SHOW_DST_LOCAL(iptr);
1016 SHOW_S1_LOCAL(iptr);
1017 if (stage >= SHOW_STACK) {
1018 printf(" ---> L%03d", iptr->dst.block->nr);
1027 SHOW_S1_LOCAL(iptr);
1037 SHOW_DST_LOCAL(iptr);
1048 case ICMD_ANEWARRAY:
1052 case ICMD_MULTIANEWARRAY:
1053 if (stage >= SHOW_STACK) {
1054 argp = iptr->sx.s23.s2.args;
1055 i = iptr->s1.argcount;
1057 SHOW_VARIABLE(*(argp++));
1061 printf("argcount=%d ", iptr->s1.argcount);
1066 case ICMD_CHECKCAST:
1069 class_classref_or_classinfo_print(iptr->sx.s23.s3.c);
1073 case ICMD_INSTANCEOF:
1078 case ICMD_INLINE_START:
1079 case ICMD_INLINE_END:
1083 if (stage >= SHOW_STACK) {
1084 argp = iptr->sx.s23.s2.args;
1085 i = iptr->s1.argcount;
1087 if ((iptr->s1.argcount - 1 - i) == iptr->sx.s23.s3.bte->md->paramcount)
1088 printf(" pass-through: ");
1089 SHOW_VARIABLE(*(argp++));
1092 printf("%s ", iptr->sx.s23.s3.bte->cname);
1093 if (iptr->sx.s23.s3.bte->md->returntype.type != TYPE_VOID) {
1098 case ICMD_INVOKEVIRTUAL:
1099 case ICMD_INVOKESPECIAL:
1100 case ICMD_INVOKESTATIC:
1101 case ICMD_INVOKEINTERFACE:
1102 if (stage >= SHOW_STACK) {
1104 INSTRUCTION_GET_METHODDESC(iptr, md);
1105 argp = iptr->sx.s23.s2.args;
1106 i = iptr->s1.argcount;
1108 if ((iptr->s1.argcount - 1 - i) == md->paramcount)
1109 printf(" pass-through: ");
1110 SHOW_VARIABLE(*(argp++));
1113 INSTRUCTION_GET_METHODREF(iptr, fmiref);
1114 method_methodref_print(fmiref);
1115 if (fmiref->parseddesc.md->returntype.type != TYPE_VOID) {
1128 SHOW_INT_CONST(iptr->sx.val.i);
1129 SHOW_TARGET(iptr->dst);
1139 SHOW_LNG_CONST(iptr->sx.val.l);
1140 SHOW_TARGET(iptr->dst);
1144 case ICMD_INLINE_GOTO:
1145 SHOW_TARGET(iptr->dst);
1149 SHOW_TARGET(iptr->sx.s23.s3.jsrtarget);
1154 case ICMD_IFNONNULL:
1156 SHOW_TARGET(iptr->dst);
1159 case ICMD_IF_ICMPEQ:
1160 case ICMD_IF_ICMPNE:
1161 case ICMD_IF_ICMPLT:
1162 case ICMD_IF_ICMPGE:
1163 case ICMD_IF_ICMPGT:
1164 case ICMD_IF_ICMPLE:
1166 case ICMD_IF_LCMPEQ:
1167 case ICMD_IF_LCMPNE:
1168 case ICMD_IF_LCMPLT:
1169 case ICMD_IF_LCMPGE:
1170 case ICMD_IF_LCMPGT:
1171 case ICMD_IF_LCMPLE:
1173 case ICMD_IF_FCMPEQ:
1174 case ICMD_IF_FCMPNE:
1176 case ICMD_IF_FCMPL_LT:
1177 case ICMD_IF_FCMPL_GE:
1178 case ICMD_IF_FCMPL_GT:
1179 case ICMD_IF_FCMPL_LE:
1181 case ICMD_IF_FCMPG_LT:
1182 case ICMD_IF_FCMPG_GE:
1183 case ICMD_IF_FCMPG_GT:
1184 case ICMD_IF_FCMPG_LE:
1186 case ICMD_IF_DCMPEQ:
1187 case ICMD_IF_DCMPNE:
1189 case ICMD_IF_DCMPL_LT:
1190 case ICMD_IF_DCMPL_GE:
1191 case ICMD_IF_DCMPL_GT:
1192 case ICMD_IF_DCMPL_LE:
1194 case ICMD_IF_DCMPG_LT:
1195 case ICMD_IF_DCMPG_GE:
1196 case ICMD_IF_DCMPG_GT:
1197 case ICMD_IF_DCMPG_LE:
1199 case ICMD_IF_ACMPEQ:
1200 case ICMD_IF_ACMPNE:
1203 SHOW_TARGET(iptr->dst);
1206 case ICMD_TABLESWITCH:
1208 table = iptr->dst.table;
1210 i = iptr->sx.s23.s3.tablehigh
1211 - iptr->sx.s23.s2.tablelow + 1;
1213 printf("high=%d low=%d count=%d\n", iptr->sx.s23.s3.tablehigh, iptr->sx.s23.s2.tablelow, i);
1215 printf("\t\t%d --> ", table - iptr->dst.table);
1216 if (stage >= SHOW_STACK) {
1217 printf("L%03d\n", table->block->nr);
1220 printf("insindex %d (L%03d)\n", table->insindex, BLOCK_OF(table->insindex)->nr);
1227 case ICMD_LOOKUPSWITCH:
1230 printf("count=%d, default=", iptr->sx.s23.s2.lookupcount);
1231 if (stage >= SHOW_STACK) {
1232 printf("L%03d\n", iptr->sx.s23.s3.lookupdefault.block->nr);
1235 printf("insindex %d (L%03d)\n", iptr->sx.s23.s3.lookupdefault.insindex, BLOCK_OF(iptr->sx.s23.s3.lookupdefault.insindex)->nr);
1238 lookup = iptr->dst.lookup;
1239 i = iptr->sx.s23.s2.lookupcount;
1241 printf("\t\t%d --> ", lookup->value);
1242 if (stage >= SHOW_STACK) {
1243 printf("L%03d\n", lookup->target.block->nr);
1246 printf("insindex %d (L%03d)\n", lookup->target.insindex, BLOCK_OF(lookup->target.insindex)->nr);
1272 #endif /* !defined(NDEBUG) */
1276 * These are local overrides for various environment variables in Emacs.
1277 * Please do not remove this and leave it at the end of the file, where
1278 * Emacs will automagically detect them.
1279 * ---------------------------------------------------------------------
1282 * indent-tabs-mode: t
1286 * vim:noexpandtab:sw=4:ts=4: