Lines Matching refs:addr_at
59 address addr_at (int offset) const { return (address)_bcp + offset; }
60 u_char byte_at(int offset) const { return *addr_at(offset); }
61 address aligned_addr_at (int offset) const { return (address)round_to((intptr_t)addr_at(offset), jintSize); }
62 int aligned_offset (int offset) const { return aligned_addr_at(offset) - addr_at(0); }
65 int get_Java_u2_at (int offset) const { return Bytes::get_Java_u2(addr_at(offset)); }
66 int get_Java_u4_at (int offset) const { return Bytes::get_Java_u4(addr_at(offset)); }
67 int get_native_u2_at (int offset) const { return Bytes::get_native_u2(addr_at(offset)); }
68 int get_native_u4_at (int offset) const { return Bytes::get_native_u4(addr_at(offset)); }
71 Bytecode(methodOop method, address bcp): _bcp(bcp), _code(Bytecodes::code_at(method, addr_at(0))) {
88 return *(jubyte*)addr_at(1);
92 address p = addr_at(is_wide ? 2 : 1);
99 return *(jubyte*)addr_at(1) + constantPoolOopDesc::CPCACHE_INDEX_TAG;
103 return Bytes::get_native_u2(addr_at(1)) + constantPoolOopDesc::CPCACHE_INDEX_TAG;
108 return Bytes::get_native_u4(addr_at(1));
116 return (jshort) Bytes::get_Java_u2(addr_at(1));
120 return (jint) Bytes::get_Java_u4(addr_at(1));
125 return *(jbyte*)addr_at(offset);
129 return (jshort) Bytes::get_Java_u2(addr_at(offset));
149 address addr_at (int offset) const { return _bcp + offset; }
150 int get_Java_u4_at (int offset) const { return Bytes::get_Java_u4(addr_at(offset)); }