* mini-amd64.c (mono_arch_emit_prolog): Increase max_offset when processing
bb_exit instead, since out of line bblocks might not actually be emitted
out-of-line.
svn path=/trunk/mono/; revision=104556
2008-05-30 Zoltan Varga <vargaz@gmail.com>
+ * mini-amd64.c (mono_arch_emit_prolog): Increase max_offset when processing
+ bb_exit instead, since out of line bblocks might not actually be emitted
+ out-of-line.
+
* mini-amd64.c (mono_arch_emit_prolog): Increase bb->max_offset by the
maximum epilog size for out of line bblocks if tracing is enabled.
max_offset += ((guint8 *)ins_get_spec (ins->opcode))[MONO_INST_LEN];
}
- if (mono_jit_trace_calls && bb->out_of_line)
+ if (mono_jit_trace_calls && bb == cfg->bb_exit)
/* The tracing code can be quite large */
- bb->max_offset += max_epilog_size;
+ max_offset += max_epilog_size;
}
}