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 show_allocation(jd->var[i].type, jd->var[i].flags, jd->var[i].vv.regoff);
213 # if defined(ENABLE_INTRP)
216 #endif /* defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER) */
221 if (cd->maxlocals > 0) {
222 printf("Local Map:\n");
224 for (j = 0; j < cd->maxlocals; j++) {
228 for (i = 0; i < 5; i++) {
229 printf(" %5s ",show_jit_type_names[i]);
230 for (j = 0; j < cd->maxlocals; j++) {
231 if (jd->local_map[j*5+i] == UNUSED)
234 printf("%4i ",jd->local_map[j*5+i]);
241 if (cd->maxstack > 0 && jd->interface_map && stage >= SHOW_STACK) {
243 interface_info *mapptr = jd->interface_map;
245 /* look if there exist any IN/OUTVARS */
246 for (i = 0; (i < (5 * cd->maxstack)) && !exist; i++, mapptr++)
247 exist = (mapptr->flags != UNUSED);
250 printf("Interface Table: (In/Outvars)\n");
252 for (j = 0; j < cd->maxstack; j++) {
257 for (i = 0; i < 5; i++) {
258 printf(" %5s ",show_jit_type_names[i]);
259 for (j = 0; j < cd->maxstack; j++) {
260 s4 flags = jd->interface_map[j*5+i].flags;
261 s4 regoff = jd->interface_map[j*5+i].regoff;
267 if (stage >= SHOW_REGS) {
268 if (flags & SAVEDVAR) {
269 if (flags & INMEMORY)
275 if (flags & INMEMORY)
280 printf("%c%03d(", ch, regoff);
281 show_allocation(i, flags, regoff);
285 if (flags & SAVEDVAR)
298 if (rd->memuse && stage >= SHOW_REGS) {
302 printf("Stack slots: (memuse=%d", rd->memuse);
303 if (stage >= SHOW_CODE) {
304 printf(", stackframesize=%d", cd->stackframesize);
305 max = cd->stackframesize;
308 for (i=0; i<max; ++i) {
309 #if defined(HAS_4BYTE_STACKSLOT)
310 printf(" M%02d = 0x%02x(sp): ", i, i * 4);
312 printf(" M%02d = 0x%02x(sp): ", i, i * 8);
314 for (j=0; j<jd->varcount; ++j) {
315 varinfo *v = jd->var + j;
316 if ((v->flags & INMEMORY) && (v->vv.regoff == i)) {
317 show_variable(jd, j, stage);
328 if (code->rplpoints) {
329 printf("Replacement Points:\n");
330 replace_show_replacement_points(code);
334 #if defined(ENABLE_DISASSEMBLER)
335 /* show code before first basic block */
337 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd)) {
338 u1ptr = (u1 *) ((ptrint) code->mcode + cd->dseglen);
340 for (; u1ptr < (u1 *) ((ptrint) code->mcode + cd->dseglen + jd->new_basicblocks[0].mpc);)
347 /* show code of all basic blocks */
349 for (bptr = jd->new_basicblocks; bptr != NULL; bptr = bptr->next)
350 new_show_basicblock(jd, bptr, stage);
352 #if defined(ENABLE_DISASSEMBLER)
353 /* show stubs code */
355 if (stage >= SHOW_CODE && opt_showdisassemble && opt_showexceptionstubs) {
356 printf("\nStubs code:\n");
357 printf("Length: %d\n\n", (s4) (code->mcodelength -
358 ((ptrint) cd->dseglen + lastbptr->mpc)));
360 u1ptr = (u1 *) ((ptrint) code->mcode + cd->dseglen + lastbptr->mpc);
362 for (; (ptrint) u1ptr < ((ptrint) code->mcode + code->mcodelength);)
369 LOCK_MONITOR_EXIT(show_global_lock);
371 /* finally flush the output */
375 #endif /* !defined(NDEBUG) */
378 /* show_basicblock *************************************************************
380 Print the intermediate representation of a basic block.
382 NOTE: Currently this function may only be called after register allocation!
384 *******************************************************************************/
387 void new_show_basicblock(jitdata *jd, basicblock *bptr, int stage)
397 /* get required compiler data */
403 if (bptr->flags != BBDELETED) {
404 deadcode = bptr->flags <= BBREACHED;
406 printf("======== %sL%03d ======== %s(flags: %d, bitflags: %01x, next: %d, type: ",
407 (bptr->bitflags & BBFLAG_REPLACEMENT) ? "<REPLACE> " : "",
409 (deadcode && stage >= SHOW_STACK) ? "DEADCODE! " : "",
410 bptr->flags, bptr->bitflags,
411 (bptr->next) ? (bptr->next->nr) : -1);
413 switch (bptr->type) {
425 printf(", icount: %d, preds: %d [ ",
426 bptr->icount, bptr->predecessorcount);
428 for (i = 0; i < bptr->predecessorcount; i++)
429 printf("%d ", bptr->predecessors[i]->nr);
434 printf(" (clone of L%03d)", bptr->original->nr);
436 basicblock *b = bptr->copied_to;
438 printf(" (copied to ");
439 for (; b; b = b->copied_to)
440 printf("L%03d ", b->nr);
447 if (stage >= SHOW_STACK) {
449 new_show_variable_array(jd, bptr->invars, bptr->indepth, stage);
455 for (i = 0; i < bptr->icount; i++, iptr++) {
456 printf("%4d: ", iptr->line);
458 new_show_icmd(jd, iptr, deadcode, stage);
462 if (stage >= SHOW_STACK) {
464 new_show_variable_array(jd, bptr->outvars, bptr->outdepth, stage);
468 #if defined(ENABLE_DISASSEMBLER)
469 if ((stage >= SHOW_CODE) && JITDATA_HAS_FLAG_SHOWDISASSEMBLE(jd) &&
473 u1ptr = (u1 *) (code->mcode + cd->dseglen + bptr->mpc);
475 if (bptr->next != NULL) {
476 for (; u1ptr < (u1 *) (code->mcode + cd->dseglen + bptr->next->mpc);)
481 for (; u1ptr < (u1 *) (code->mcode + code->mcodelength);)
489 #endif /* !defined(NDEBUG) */
492 /* show_icmd *******************************************************************
494 Print the intermediate representation of an instruction.
496 NOTE: Currently this function may only be called after register allocation!
498 *******************************************************************************/
502 #define SHOW_TARGET(target) \
503 if (stage >= SHOW_STACK) { \
504 printf("--> L%03d ", (target).block->nr); \
506 else if (stage >= SHOW_PARSE) { \
507 printf("--> insindex %d (L%03d) ", (target).insindex, \
508 jd->new_basicblocks[jd->new_basicblockindex[ \
509 (target).insindex]].nr); \
512 printf("--> insindex %d ", (target).insindex); \
515 #define SHOW_INT_CONST(val) \
516 if (stage >= SHOW_PARSE) { \
517 printf("%ld ", (long) (val)); \
523 #define SHOW_LNG_CONST(val) \
524 if (stage >= SHOW_PARSE) { \
525 printf("%lld ", (long long)(val)); \
531 #define SHOW_FLT_CONST(val) \
532 if (stage >= SHOW_PARSE) { \
533 printf("%g ", (val)); \
539 #define SHOW_DBL_CONST(val) \
540 if (stage >= SHOW_PARSE) { \
541 printf("%g ", (val)); \
547 #define SHOW_INDEX(index) \
548 if (stage >= SHOW_PARSE) { \
549 printf("%d ", index); \
555 #define SHOW_STRING(val) \
556 if (stage >= SHOW_PARSE) { \
558 utf_display_printable_ascii( \
559 javastring_toutf((java_lang_String *)(val), false)); \
566 #define SHOW_CLASSREF_OR_CLASSINFO(c) \
567 if (stage >= SHOW_PARSE) { \
568 if (IS_CLASSREF(c)) \
569 class_classref_print(c.ref); \
571 class_print(c.cls); \
578 #define SHOW_FIELD(fmiref) \
579 if (stage >= SHOW_PARSE) { \
580 field_fieldref_print(fmiref); \
587 #define SHOW_VARIABLE(v) \
588 show_variable(jd, (v), stage)
590 #define SHOW_S1(iptr) \
591 if (stage >= SHOW_STACK) { \
592 SHOW_VARIABLE(iptr->s1.varindex); \
595 #define SHOW_S2(iptr) \
596 if (stage >= SHOW_STACK) { \
597 SHOW_VARIABLE(iptr->sx.s23.s2.varindex); \
600 #define SHOW_S3(iptr) \
601 if (stage >= SHOW_STACK) { \
602 SHOW_VARIABLE(iptr->sx.s23.s3.varindex); \
605 #define SHOW_DST(iptr) \
606 if (stage >= SHOW_STACK) { \
608 SHOW_VARIABLE(iptr->dst.varindex); \
611 #define SHOW_S1_LOCAL(iptr) \
612 if (stage >= SHOW_STACK) { \
613 printf("L%d ", iptr->s1.varindex); \
616 printf("JavaL%d ", iptr->s1.varindex); \
619 #define SHOW_DST_LOCAL(iptr) \
620 if (stage >= SHOW_STACK) { \
621 printf("=> L%d ", iptr->dst.varindex); \
624 printf("=> JavaL%d ", iptr->dst.varindex); \
627 static void show_allocation(s4 type, s4 flags, s4 regoff)
629 if (flags & INMEMORY) {
630 printf("M%02d", regoff);
634 #ifdef HAS_ADDRESS_REGISTER_FILE
635 if (type == TYPE_ADR) {
636 printf("R%02d", regoff);
641 if (IS_FLT_DBL_TYPE(type)) {
642 printf("F%02d", regoff);
646 #if defined(SUPPORT_COMBINE_INTEGER_REGISTERS)
647 if (IS_2_WORD_TYPE(type)) {
648 # if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
649 # if defined(ENABLE_INTRP)
651 printf("%3d/%3d", GET_LOW_REG(regoff),
652 GET_HIGH_REG(regoff));
655 printf("%3s/%3s", regs[GET_LOW_REG(regoff)],
656 regs[GET_HIGH_REG(regoff)]);
658 printf("%3d/%3d", GET_LOW_REG(regoff),
659 GET_HIGH_REG(regoff));
663 #endif /* defined(SUPPORT_COMBINE_INTEGER_REGISTERS) */
665 #if defined(ENABLE_JIT) && defined(ENABLE_DISASSEMBLER)
666 # if defined(ENABLE_INTRP)
668 printf("%3d", regoff);
671 printf("%3s", regs[regoff]);
673 printf("%3d", regoff);
677 static void show_variable(jitdata *jd, s4 index, int stage)
683 v = &(jd->var[index]);
686 case TYPE_INT: type = 'i'; break;
687 case TYPE_LNG: type = 'l'; break;
688 case TYPE_FLT: type = 'f'; break;
689 case TYPE_DBL: type = 'd'; break;
690 case TYPE_ADR: type = 'a'; break;
691 case TYPE_RET: type = 'r'; break;
695 if (index < jd->localcount) {
697 if (v->flags & (PREALLOC | OUTVAR))
698 printf("<INVALID FLAGS!>");
701 if (v->flags & PREALLOC) {
703 if (v->flags & OUTVAR)
704 printf("<INVALID FLAGS!>");
706 else if (v->flags & OUTVAR)
712 printf("%c%c%d", kind, type, index);
714 if (v->flags & SAVEDVAR)
717 if (stage >= SHOW_REGS) {
719 show_allocation(v->type, v->flags, v->vv.regoff);
726 static void new_show_variable_array(jitdata *jd, s4 *vars, int n, int stage)
731 for (i=0; i<n; ++i) {
734 show_variable(jd, vars[i], stage);
739 void new_show_icmd(jitdata *jd, instruction *iptr, bool deadcode, int stage)
742 branch_target_t *table;
743 lookup_target_t *lookup;
744 constant_FMIref *fmiref;
748 /* get the opcode and the condition */
752 printf("%s ", icmd_names[opcode]);
754 if (stage < SHOW_PARSE)
760 /* Print the condition for conditional instructions. */
762 /* XXX print condition from flags */
764 if (iptr->flags.bits & INS_FLAG_UNRESOLVED)
765 printf("(UNRESOLVED) ");
771 case ICMD_CHECKNULL_POP:
776 case ICMD_ARRAYLENGTH:
843 /* binary/const INT */
855 case ICMD_IUSHRCONST:
858 case ICMD_LUSHRCONST:
860 SHOW_INT_CONST(iptr->sx.val.i);
864 /* ?ASTORECONST (trinary/const INT) */
865 case ICMD_IASTORECONST:
866 case ICMD_BASTORECONST:
867 case ICMD_CASTORECONST:
868 case ICMD_SASTORECONST:
871 SHOW_INT_CONST(iptr->sx.s23.s3.constval);
876 SHOW_INT_CONST(iptr->sx.val.i);
880 /* binary/const LNG */
891 SHOW_LNG_CONST(iptr->sx.val.l);
895 /* trinary/const LNG (<= pointer size) */
896 case ICMD_LASTORECONST:
899 SHOW_LNG_CONST(iptr->sx.s23.s3.constval);
904 SHOW_LNG_CONST(iptr->sx.val.l);
910 SHOW_FLT_CONST(iptr->sx.val.f);
916 SHOW_DBL_CONST(iptr->sx.val.d);
922 if (iptr->flags.bits & INS_FLAG_CLASS) {
923 SHOW_CLASSREF_OR_CLASSINFO(iptr->sx.val.c);
925 else if (iptr->sx.val.anyptr == NULL) {
929 SHOW_STRING(iptr->sx.val.stringconst);
934 case ICMD_AASTORECONST:
937 printf("%p ", (void*) iptr->sx.s23.s3.constval);
940 case ICMD_GETFIELD: /* 1 -> 1 */
941 case ICMD_PUTFIELD: /* 2 -> 0 */
942 case ICMD_PUTSTATIC: /* 1 -> 0 */
943 case ICMD_GETSTATIC: /* 0 -> 1 */
944 case ICMD_PUTSTATICCONST: /* 0 -> 0 */
945 case ICMD_PUTFIELDCONST: /* 1 -> 0 */
946 if (opcode != ICMD_GETSTATIC && opcode != ICMD_PUTSTATICCONST) {
948 if (opcode == ICMD_PUTFIELD) {
952 INSTRUCTION_GET_FIELDREF(iptr, fmiref);
955 if (opcode == ICMD_GETSTATIC || opcode == ICMD_GETFIELD) {
962 SHOW_INT_CONST(iptr->sx.val.i);
963 SHOW_DST_LOCAL(iptr);
994 if (stage >= SHOW_STACK) {
995 printf(" ---> L%03d", iptr->dst.block->nr);
1004 SHOW_S1_LOCAL(iptr);
1014 SHOW_DST_LOCAL(iptr);
1025 case ICMD_ANEWARRAY:
1029 case ICMD_MULTIANEWARRAY:
1030 if (stage >= SHOW_STACK) {
1031 argp = iptr->sx.s23.s2.args;
1032 i = iptr->s1.argcount;
1034 SHOW_VARIABLE(*(argp++));
1038 printf("argcount=%d ", iptr->s1.argcount);
1043 case ICMD_CHECKCAST:
1048 case ICMD_INSTANCEOF:
1053 case ICMD_INLINE_START:
1054 case ICMD_INLINE_END:
1058 if (stage >= SHOW_STACK) {
1059 argp = iptr->sx.s23.s2.args;
1060 i = iptr->s1.argcount;
1062 if ((iptr->s1.argcount - 1 - i) == iptr->sx.s23.s3.bte->md->paramcount)
1063 printf(" pass-through: ");
1064 SHOW_VARIABLE(*(argp++));
1067 printf("%s ", iptr->sx.s23.s3.bte->cname);
1068 if (iptr->sx.s23.s3.bte->md->returntype.type != TYPE_VOID) {
1073 case ICMD_INVOKEVIRTUAL:
1074 case ICMD_INVOKESPECIAL:
1075 case ICMD_INVOKESTATIC:
1076 case ICMD_INVOKEINTERFACE:
1077 if (stage >= SHOW_STACK) {
1079 INSTRUCTION_GET_METHODDESC(iptr, md);
1080 argp = iptr->sx.s23.s2.args;
1081 i = iptr->s1.argcount;
1083 if ((iptr->s1.argcount - 1 - i) == md->paramcount)
1084 printf(" pass-through: ");
1085 SHOW_VARIABLE(*(argp++));
1088 INSTRUCTION_GET_METHODREF(iptr, fmiref);
1089 method_methodref_print(fmiref);
1090 if (fmiref->parseddesc.md->returntype.type != TYPE_VOID) {
1103 SHOW_TARGET(iptr->dst);
1113 SHOW_TARGET(iptr->dst);
1117 case ICMD_INLINE_GOTO:
1118 SHOW_TARGET(iptr->dst);
1122 SHOW_TARGET(iptr->sx.s23.s3.jsrtarget);
1127 case ICMD_IFNONNULL:
1129 SHOW_TARGET(iptr->dst);
1132 case ICMD_IF_ICMPEQ:
1133 case ICMD_IF_ICMPNE:
1134 case ICMD_IF_ICMPLT:
1135 case ICMD_IF_ICMPGE:
1136 case ICMD_IF_ICMPGT:
1137 case ICMD_IF_ICMPLE:
1139 case ICMD_IF_LCMPEQ:
1140 case ICMD_IF_LCMPNE:
1141 case ICMD_IF_LCMPLT:
1142 case ICMD_IF_LCMPGE:
1143 case ICMD_IF_LCMPGT:
1144 case ICMD_IF_LCMPLE:
1146 case ICMD_IF_FCMPEQ:
1147 case ICMD_IF_FCMPNE:
1149 case ICMD_IF_FCMPL_LT:
1150 case ICMD_IF_FCMPL_GE:
1151 case ICMD_IF_FCMPL_GT:
1152 case ICMD_IF_FCMPL_LE:
1154 case ICMD_IF_FCMPG_LT:
1155 case ICMD_IF_FCMPG_GE:
1156 case ICMD_IF_FCMPG_GT:
1157 case ICMD_IF_FCMPG_LE:
1159 case ICMD_IF_DCMPEQ:
1160 case ICMD_IF_DCMPNE:
1162 case ICMD_IF_DCMPL_LT:
1163 case ICMD_IF_DCMPL_GE:
1164 case ICMD_IF_DCMPL_GT:
1165 case ICMD_IF_DCMPL_LE:
1167 case ICMD_IF_DCMPG_LT:
1168 case ICMD_IF_DCMPG_GE:
1169 case ICMD_IF_DCMPG_GT:
1170 case ICMD_IF_DCMPG_LE:
1172 case ICMD_IF_ACMPEQ:
1173 case ICMD_IF_ACMPNE:
1176 SHOW_TARGET(iptr->dst);
1179 case ICMD_TABLESWITCH:
1181 table = iptr->dst.table;
1183 i = iptr->sx.s23.s3.tablehigh
1184 - iptr->sx.s23.s2.tablelow + 1;
1186 printf("high=%d low=%d count=%d\n", iptr->sx.s23.s3.tablehigh, iptr->sx.s23.s2.tablelow, i);
1188 printf("\t\t%d --> ", table - iptr->dst.table);
1189 if (stage >= SHOW_STACK) {
1190 printf("L%03d\n", table->block->nr);
1193 printf("insindex %d (L%03d)\n", table->insindex, BLOCK_OF(table->insindex)->nr);
1200 case ICMD_LOOKUPSWITCH:
1203 printf("count=%d, default=", iptr->sx.s23.s2.lookupcount);
1204 if (stage >= SHOW_STACK) {
1205 printf("L%03d\n", iptr->sx.s23.s3.lookupdefault.block->nr);
1208 printf("insindex %d (L%03d)\n", iptr->sx.s23.s3.lookupdefault.insindex, BLOCK_OF(iptr->sx.s23.s3.lookupdefault.insindex)->nr);
1211 lookup = iptr->dst.lookup;
1212 i = iptr->sx.s23.s2.lookupcount;
1214 printf("\t\t%d --> ", lookup->value);
1215 if (stage >= SHOW_STACK) {
1216 printf("L%03d\n", lookup->target.block->nr);
1219 printf("insindex %d (L%03d)\n", lookup->target.insindex, BLOCK_OF(lookup->target.insindex)->nr);
1241 #endif /* !defined(NDEBUG) */
1245 * These are local overrides for various environment variables in Emacs.
1246 * Please do not remove this and leave it at the end of the file, where
1247 * Emacs will automagically detect them.
1248 * ---------------------------------------------------------------------
1251 * indent-tabs-mode: t
1255 * vim:noexpandtab:sw=4:ts=4: