src/cpu/sparc/vm/vtableStubs_sparc.cpp

changeset 9327
f96fcd9e1e1b
parent 8997
f8a45a60bc6b
child 9448
73d689add964
equal deleted inserted replaced
9324:efdbe9b904ad 9327:f96fcd9e1e1b
109 __ delayed()->nop(); 109 __ delayed()->nop();
110 110
111 masm->flush(); 111 masm->flush();
112 112
113 if (PrintMiscellaneous && (WizardMode || Verbose)) { 113 if (PrintMiscellaneous && (WizardMode || Verbose)) {
114 tty->print_cr("vtable #%d at "PTR_FORMAT"[%d] left over: %d", 114 tty->print_cr("vtable #%d at " PTR_FORMAT "[%d] left over: %d",
115 vtable_index, s->entry_point(), 115 vtable_index, s->entry_point(),
116 (int)(s->code_end() - s->entry_point()), 116 (int)(s->code_end() - s->entry_point()),
117 (int)(s->code_end() - __ pc())); 117 (int)(s->code_end() - __ pc()));
118 } 118 }
119 guarantee(__ pc() <= s->code_end(), "overflowed buffer"); 119 guarantee(__ pc() <= s->code_end(), "overflowed buffer");
217 __ delayed()->restore(); 217 __ delayed()->restore();
218 218
219 masm->flush(); 219 masm->flush();
220 220
221 if (PrintMiscellaneous && (WizardMode || Verbose)) { 221 if (PrintMiscellaneous && (WizardMode || Verbose)) {
222 tty->print_cr("itable #%d at "PTR_FORMAT"[%d] left over: %d", 222 tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
223 itable_index, s->entry_point(), 223 itable_index, s->entry_point(),
224 (int)(s->code_end() - s->entry_point()), 224 (int)(s->code_end() - s->entry_point()),
225 (int)(s->code_end() - __ pc())); 225 (int)(s->code_end() - __ pc()));
226 } 226 }
227 guarantee(__ pc() <= s->code_end(), "overflowed buffer"); 227 guarantee(__ pc() <= s->code_end(), "overflowed buffer");

mercurial