interpretedVFrame Class Reference

#include <vframe.hpp>

Inheritance diagram for interpretedVFrame:

Inheritance graph
[legend]
Collaboration diagram for interpretedVFrame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 interpretedVFrame (frame *fr)
void set_receiver (oop obj)
u_charhp () const
void set_hp (u_char *p)
void temp_at_put (int offset, oop obj)
void expression_at_put (int index, oop obj)
contextOop interpreter_context () const
bool is_interpreted_frame () const
bool equal (const vframe *f) const
oop receiver () const
methodOop method () const
int bci () const
oop temp_at (int offset) const
oop expression_at (int index) const
oop context_temp_at (int offset) const
contextOop canonical_context () const
GrowableArray< oop > * expression_stack () const
deltaVFrameparent () const
void verify () const

Private Member Functions

oopexpression_addr (int offset) const
bool has_interpreter_context () const

Static Private Attributes

static const int temp_offset
static const int hp_offset
static const int receiver_offset
static const int argument_offset

Detailed Description

Definition at line 162 of file vframe.hpp.


Constructor & Destructor Documentation

interpretedVFrame::interpretedVFrame ( frame fr  )  [inline]

Definition at line 165 of file vframe.hpp.


Member Function Documentation

int interpretedVFrame::bci (  )  const [virtual]

Implements deltaVFrame.

Definition at line 243 of file vframe.cpp.

References methodOopDesc::bci_from(), hp(), and method().

Referenced by expression_stack(), interpreter_context(), frame::print_for_deoptimization(), and verify().

Here is the call graph for this function:

contextOop interpretedVFrame::canonical_context (  )  const [virtual]

Implements deltaVFrame.

Definition at line 168 of file vframe.cpp.

References interpreter_context().

Here is the call graph for this function:

oop interpretedVFrame::context_temp_at ( int  offset  )  const [virtual]

Implements deltaVFrame.

Definition at line 156 of file vframe.cpp.

References assert, has_interpreter_context(), interpreter_context(), and contextOopDesc::obj_at().

Here is the call graph for this function:

bool interpretedVFrame::equal ( const vframe f  )  const [virtual]

Reimplemented from vframe.

Definition at line 238 of file vframe.cpp.

References vframe::equal(), and vframe::is_interpreted_frame().

Here is the call graph for this function:

oop * interpretedVFrame::expression_addr ( int  offset  )  const [private]

Definition at line 176 of file vframe.cpp.

References vframe::_fr, and frame::sp().

Referenced by expression_at(), and expression_stack().

Here is the call graph for this function:

oop interpretedVFrame::expression_at ( int  index  )  const [virtual]

Implements deltaVFrame.

Definition at line 172 of file vframe.cpp.

References expression_addr().

Referenced by expression_stack().

Here is the call graph for this function:

void interpretedVFrame::expression_at_put ( int  index,
oop  obj 
)

Definition at line 233 of file vframe.cpp.

References Unimplemented.

GrowableArray< oop > * interpretedVFrame::expression_stack (  )  const [virtual]

Implements deltaVFrame.

Definition at line 180 of file vframe.cpp.

References vframe::_fr, assert, GrowableArray< E >::at(), bci(), expression_addr(), expression_at(), methodOopDesc::expression_stack_mapping(), GenericGrowableArray::length(), method(), methodOopDesc::number_of_stack_temporaries(), methodOopDesc::pretty_print(), outputStream::print(), methodOopDesc::print_codes(), outputStream::print_cr(), oopDesc::print_value_on(), GrowableArray< E >::push(), std, frame::temp_addr(), and warning().

Referenced by frame::print_for_deoptimization().

Here is the call graph for this function:

bool interpretedVFrame::has_interpreter_context (  )  const [private]

Definition at line 145 of file vframe.cpp.

References methodOopDesc::activation_has_context(), and method().

Referenced by context_temp_at(), interpreter_context(), and temp_at().

Here is the call graph for this function:

u_char * interpretedVFrame::hp (  )  const

Definition at line 208 of file vframe.cpp.

References vframe::_fr, and frame::hp().

Referenced by bci(), and method().

Here is the call graph for this function:

contextOop interpretedVFrame::interpreter_context (  )  const

Definition at line 161 of file vframe.cpp.

References vframe::_fr, assert, bci(), has_interpreter_context(), oopDesc::is_context(), method(), and frame::temp().

Referenced by canonical_context(), context_temp_at(), parent(), frame::print_for_deoptimization(), and verify().

Here is the call graph for this function:

bool interpretedVFrame::is_interpreted_frame (  )  const [inline, virtual]

Reimplemented from vframe.

Definition at line 194 of file vframe.hpp.

methodOop interpretedVFrame::method (  )  const [virtual]

Implements deltaVFrame.

Definition at line 247 of file vframe.cpp.

References as_memOop(), assert, hp(), oopDesc::is_method(), and Universe::object_start().

Referenced by bci(), expression_stack(), has_interpreter_context(), interpreter_context(), parent(), frame::print_for_deoptimization(), receiver(), temp_at(), and verify().

Here is the call graph for this function:

deltaVFrame * interpretedVFrame::parent (  )  const [virtual]

Implements deltaVFrame.

Definition at line 253 of file vframe.cpp.

References interpreter_context(), methodOopDesc::is_blockMethod(), method(), vframe::sender(), and warning().

Here is the call graph for this function:

oop interpretedVFrame::receiver (  )  const [virtual]

Implements deltaVFrame.

Definition at line 216 of file vframe.cpp.

References vframe::_fr, assert, methodOopDesc::is_blockMethod(), oopDesc::is_context(), method(), nilObj, and frame::receiver().

Here is the call graph for this function:

void interpretedVFrame::set_hp ( u_char p  ) 

Definition at line 212 of file vframe.cpp.

References vframe::_fr, and frame::set_hp().

Here is the call graph for this function:

void interpretedVFrame::set_receiver ( oop  obj  ) 

Definition at line 225 of file vframe.cpp.

References vframe::_fr, and frame::set_receiver().

Here is the call graph for this function:

oop interpretedVFrame::temp_at ( int  offset  )  const [virtual]

Implements deltaVFrame.

Definition at line 149 of file vframe.cpp.

References vframe::_fr, assert, has_interpreter_context(), method(), and frame::temp().

Here is the call graph for this function:

void interpretedVFrame::temp_at_put ( int  offset,
oop  obj 
)

Definition at line 229 of file vframe.cpp.

References vframe::_fr, and frame::set_temp().

Here is the call graph for this function:

void interpretedVFrame::verify (  )  const [virtual]

Reimplemented from deltaVFrame.

Definition at line 277 of file vframe.cpp.

References methodOopDesc::activation_has_context(), bci(), methodOopDesc::in_context_allocation(), interpreter_context(), methodOopDesc::is_blockMethod(), method(), deltaVFrame::verify(), methodOopDesc::verify_context(), and warning().

Here is the call graph for this function:


Member Data Documentation

const int interpretedVFrame::argument_offset [static, private]

Definition at line 188 of file vframe.hpp.

const int interpretedVFrame::hp_offset [static, private]

Definition at line 186 of file vframe.hpp.

const int interpretedVFrame::receiver_offset [static, private]

Definition at line 187 of file vframe.hpp.

const int interpretedVFrame::temp_offset [static, private]

Definition at line 185 of file vframe.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 14:02:48 2006 for Strongtalk VM by  doxygen 1.4.7