Lines Matching refs:nm
68 ExceptionHandlerTable::ExceptionHandlerTable(const nmethod* nm) {
69 _table = (HandlerTableEntry*)nm->handler_table_begin();
70 _length = nm->handler_table_size() / sizeof(HandlerTableEntry);
101 void ExceptionHandlerTable::copy_to(nmethod* nm) {
102 assert(size_in_bytes() == nm->handler_table_size(), "size of space allocated in nmethod incorrect");
103 memmove(nm->handler_table_begin(), _table, size_in_bytes());
191 ImplicitExceptionTable::ImplicitExceptionTable(const nmethod* nm) {
192 if (nm->nul_chk_table_size() == 0) {
198 _data = (implicit_null_entry*)nm->nul_chk_table_begin();
203 assert(size_in_bytes() <= nm->nul_chk_table_size(), "size of space allocated in nmethod incorrect");
206 void ImplicitExceptionTable::copy_to( nmethod* nm ) {
207 assert(size_in_bytes() <= nm->nul_chk_table_size(), "size of space allocated in nmethod incorrect");
209 implicit_null_entry* nmdata = (implicit_null_entry*)nm->nul_chk_table_begin();
218 assert(nm->nul_chk_table_size() == 0, "bad size");
222 void ImplicitExceptionTable::verify(nmethod *nm) const {
224 if ((*adr(i) > (unsigned int)nm->insts_size()) ||
225 (*(adr(i)+1) > (unsigned int)nm->insts_size()))