equal
deleted
inserted
replaced
314 // Accessors |
314 // Accessors |
315 Method* method() const { return _method; } |
315 Method* method() const { return _method; } |
316 int bci() const { return _bci; } |
316 int bci() const { return _bci; } |
317 intptr_t* frame_id() const { return _frame.id(); } |
317 intptr_t* frame_id() const { return _frame.id(); } |
318 address frame_pc() const { return _frame.pc(); } |
318 address frame_pc() const { return _frame.pc(); } |
319 |
|
320 javaVFrame* java_frame() { |
|
321 vframe* vf = vframe::new_vframe(&_frame, &_reg_map, _thread); |
|
322 if (vf->is_java_frame()) { |
|
323 return (javaVFrame*)vf; |
|
324 } |
|
325 return NULL; |
|
326 } |
|
327 |
319 |
328 CodeBlob* cb() const { return _frame.cb(); } |
320 CodeBlob* cb() const { return _frame.cb(); } |
329 CompiledMethod* nm() const { |
321 CompiledMethod* nm() const { |
330 assert( cb() != NULL && cb()->is_compiled(), "usage"); |
322 assert( cb() != NULL && cb()->is_compiled(), "usage"); |
331 return (CompiledMethod*) cb(); |
323 return (CompiledMethod*) cb(); |