Lines Matching refs:bcp
239 int Method::bci_from(address bcp) const {
240 if (is_native() && bcp == 0) {
246 assert(is_native() && bcp == code_base() || contains(bcp) || is_error_reported(),
247 "bcp doesn't belong to this method: bcp: " INTPTR_FORMAT ", method: %s",
248 p2i(bcp), name_and_sig_as_C_string());
251 return bcp - code_base();
259 // Return bci if it appears to be a valid bcp
263 int Method::validate_bci_from_bcp(address bcp) const {
266 if (bcp == 0 || bcp == code_base()) {
270 } else if (contains(bcp)) {
271 bci = bcp - code_base();
281 address bcp = code_base() + bci;
282 assert(is_native() && bcp == code_base() || contains(bcp), "bcp doesn't belong to this method");
283 return bcp;
286 address Method::bcp_from(address bcp) const {
287 if (is_native() && bcp == NULL) {
290 return bcp;
1686 while (s.next() >= 0) BytecodeTracer::trace(mh, s.bcp(), st);