comparison src/share/vm/code/exceptionHandlerTable.cpp @ 1490:f03d0a26bf83

6888954: argument formatting for assert() and friends Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
author jcoomes
date Thu, 22 Apr 2010 13:23:15 -0700
parents a61af66fc99e
children c18cbe5936b8
comparison
equal deleted inserted replaced
1489:cff162798819 1490:f03d0a26bf83
219 219
220 void ImplicitExceptionTable::verify(nmethod *nm) const { 220 void ImplicitExceptionTable::verify(nmethod *nm) const {
221 for (uint i = 0; i < len(); i++) { 221 for (uint i = 0; i < len(); i++) {
222 if ((*adr(i) > (unsigned int)nm->code_size()) || 222 if ((*adr(i) > (unsigned int)nm->code_size()) ||
223 (*(adr(i)+1) > (unsigned int)nm->code_size())) 223 (*(adr(i)+1) > (unsigned int)nm->code_size()))
224 fatal1("Invalid offset in ImplicitExceptionTable at %lx", _data); 224 fatal(err_msg("Invalid offset in ImplicitExceptionTable at " PTR_FORMAT, _data));
225 } 225 }
226 } 226 }