scopeNode Class Reference

Inheritance diagram for scopeNode:

Inheritance graph
[legend]
Collaboration diagram for scopeNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 scopeNode (deltaVFrame *fr, int index)
 scopeNode (methodOop method, klassOop klass, int hot_bci)
deltaVFramefr ()
ScopeDesc * sd () const
methodOop method ()
int hot_bci ()
klassOop get_klass ()
bool is_block_method ()
void context_allocated ()
bool is_context_allocated ()
char * param_string (int index, bool in_block=false)
char * stack_temp_string (int bci, int no)
char * stack_float_temp_string (int bci, int fno)
char * create_name (char *prefix, int no)
char * heap_temp_string (int bci, int no, int context_level)
char * inst_var_string (int offset)
astNodetemps ()
astNodeparams ()
astNodeheap_temp_at (int no)
astNodestack_temp_at (int no)
astNodeparameter_at (int index, bool in_block=false)
void print_frame_header (prettyPrintStream *output)
void print_header (prettyPrintStream *output)
void print_method_header (prettyPrintStream *output)

Protected Attributes

methodOop _method
klassOop klass
int in
int _hot_bci
int frame_index
deltaVFrame_fr
ScopeDesc * _sd

Detailed Description

Definition at line 264 of file prettyPrinter.cpp.


Constructor & Destructor Documentation

scopeNode::scopeNode ( deltaVFrame fr,
int  index 
) [inline]

Definition at line 274 of file prettyPrinter.cpp.

References _fr, _hot_bci, _method, _sd, deltaVFrame::bci(), fr(), frame_index, in, vframe::is_compiled_frame(), oopDesc::klass(), klass, deltaVFrame::method(), and deltaVFrame::receiver().

Referenced by heap_temp_string().

Here is the call graph for this function:

scopeNode::scopeNode ( methodOop  method,
klassOop  klass,
int  hot_bci 
) [inline]

Definition at line 287 of file prettyPrinter.cpp.

References _fr, _hot_bci, _method, _sd, in, klass, and method().

Here is the call graph for this function:


Member Function Documentation

void scopeNode::context_allocated (  )  [inline]

Definition at line 308 of file prettyPrinter.cpp.

References assert, and is_context_allocated().

Referenced by MethodPrettyPrinter::allocate_context().

Here is the call graph for this function:

char* scopeNode::create_name ( char *  prefix,
int  no 
) [inline]

Definition at line 334 of file prettyPrinter.cpp.

References NEW_RESOURCE_ARRAY.

Referenced by heap_temp_string(), param_string(), stack_float_temp_string(), stack_temp_at(), and stack_temp_string().

deltaVFrame* scopeNode::fr (  )  [inline]

Definition at line 297 of file prettyPrinter.cpp.

References _fr.

Referenced by heap_temp_at(), parameter_at(), print_frame_header(), print_header(), scopeNode(), and stack_temp_at().

klassOop scopeNode::get_klass (  )  [inline]

Definition at line 304 of file prettyPrinter.cpp.

References klass.

astNode* scopeNode::heap_temp_at ( int  no  )  [inline]

Definition at line 390 of file prettyPrinter.cpp.

References deltaVFrame::context_temp_at(), fr(), heap_temp_string(), and oopDesc::print_value_string().

Referenced by PrintTemps::heap_temp().

Here is the call graph for this function:

char* scopeNode::heap_temp_string ( int  bci,
int  no,
int  context_level 
) [inline]

Definition at line 340 of file prettyPrinter.cpp.

References byteArrayOopDesc::as_string(), create_name(), find_heap_temp(), heap_temp_string(), is_block_method(), is_context_allocated(), klass, method(), and scopeNode().

Referenced by heap_temp_at(), heap_temp_string(), and heapTempNode::heapTempNode().

Here is the call graph for this function:

int scopeNode::hot_bci (  )  [inline]

Definition at line 302 of file prettyPrinter.cpp.

References _hot_bci.

Referenced by PrintWrapper::PrintWrapper().

char* scopeNode::inst_var_string ( int  offset  )  [inline]

Definition at line 358 of file prettyPrinter.cpp.

References byteArrayOopDesc::as_string(), Klass::inst_var_name_at(), klass, klassOopDesc::klass_part(), and NEW_RESOURCE_ARRAY.

Referenced by instVarNode::instVarNode().

Here is the call graph for this function:

bool scopeNode::is_block_method (  )  [inline]

Definition at line 306 of file prettyPrinter.cpp.

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

Referenced by heap_temp_string().

Here is the call graph for this function:

bool scopeNode::is_context_allocated (  )  [inline]

Definition at line 309 of file prettyPrinter.cpp.

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

Referenced by context_allocated(), and heap_temp_string().

Here is the call graph for this function:

methodOop scopeNode::method (  )  [inline]

Definition at line 300 of file prettyPrinter.cpp.

References _method.

Referenced by generate(), heap_temp_string(), is_block_method(), is_context_allocated(), MethodPrettyPrinter::MethodPrettyPrinter(), param_string(), params(), print_frame_header(), print_method_header(), scopeNode(), stack_float_temp_string(), stack_temp_at(), stack_temp_string(), and temps().

char* scopeNode::param_string ( int  index,
bool  in_block = false 
) [inline]

Definition at line 311 of file prettyPrinter.cpp.

References byteArrayOopDesc::as_string(), byteArrayOopDesc::copy_null_terminated(), create_name(), find_parameter_name(), byteArrayOopDesc::length(), method(), and NEW_RESOURCE_ARRAY.

Referenced by parameter_at(), and paramNode::paramNode().

Here is the call graph for this function:

astNode* scopeNode::parameter_at ( int  index,
bool  in_block = false 
) [inline]

Definition at line 405 of file prettyPrinter.cpp.

References deltaVFrame::argument_at(), fr(), param_string(), and oopDesc::print_value_string().

Referenced by PrintParams::parameter(), and print_method_header().

Here is the call graph for this function:

astNode* scopeNode::params (  )  [inline]

Definition at line 378 of file prettyPrinter.cpp.

References listNode::add(), GrowableArray< E >::at(), PrintParams::decode(), PrintParams::elements, GenericGrowableArray::length(), and method().

Referenced by blockNode::print(), and blockNode::width().

Here is the call graph for this function:

void scopeNode::print_frame_header ( prettyPrintStream output  )  [inline]

Definition at line 412 of file prettyPrinter.cpp.

References _hot_bci, GrowableArray< E >::at(), deltaVFrame::expression_stack(), fr(), frame_index, klass, oopDesc::klass(), klassOopDesc::klass_part(), GenericGrowableArray::length(), Klass::lookup_method_holder_for(), method(), prettyPrintStream::newline(), oopDesc::print(), prettyPrintStream::print(), print_method_header(), oopDesc::print_value(), oopDesc::print_value_string(), and deltaVFrame::receiver().

Referenced by print_header().

Here is the call graph for this function:

void scopeNode::print_header ( prettyPrintStream output  )  [inline]

Definition at line 474 of file prettyPrinter.cpp.

References fr(), print_frame_header(), and print_method_header().

Referenced by prettyPrinter::print(), and astNode::top_level_print().

Here is the call graph for this function:

void scopeNode::print_method_header ( prettyPrintStream output  )  [inline]

Definition at line 482 of file prettyPrinter.cpp.

References method(), parameter_at(), print_selector_with_arguments(), GrowableArray< E >::push(), and astNode::selector().

Referenced by print_frame_header(), and print_header().

Here is the call graph for this function:

ScopeDesc* scopeNode::sd (  )  const [inline]

Definition at line 298 of file prettyPrinter.cpp.

References _sd.

Referenced by astNode::print().

char* scopeNode::stack_float_temp_string ( int  bci,
int  fno 
) [inline]

Definition at line 329 of file prettyPrinter.cpp.

References byteArrayOopDesc::as_string(), create_name(), find_stack_float_temp(), and method().

Here is the call graph for this function:

astNode* scopeNode::stack_temp_at ( int  no  )  [inline]

Definition at line 397 of file prettyPrinter.cpp.

References byteArrayOopDesc::as_string(), create_name(), find_stack_temp(), fr(), method(), oopDesc::print_value_string(), and deltaVFrame::temp_at().

Referenced by PrintTemps::stack_temp().

Here is the call graph for this function:

char* scopeNode::stack_temp_string ( int  bci,
int  no 
) [inline]

Definition at line 324 of file prettyPrinter.cpp.

References byteArrayOopDesc::as_string(), create_name(), find_stack_temp(), and method().

Referenced by floatNode::floatNode(), and stackTempNode::stackTempNode().

Here is the call graph for this function:

astNode* scopeNode::temps (  )  [inline]

Definition at line 368 of file prettyPrinter.cpp.

References listNode::add(), GrowableArray< E >::at(), PrintTemps::decode(), PrintTemps::elements, GenericGrowableArray::length(), and method().

Referenced by blockNode::print(), methodNode::print(), and blockNode::width().

Here is the call graph for this function:


Member Data Documentation

deltaVFrame* scopeNode::_fr [protected]

Definition at line 271 of file prettyPrinter.cpp.

Referenced by fr(), and scopeNode().

int scopeNode::_hot_bci [protected]

Definition at line 269 of file prettyPrinter.cpp.

Referenced by hot_bci(), print_frame_header(), and scopeNode().

methodOop scopeNode::_method [protected]

Definition at line 266 of file prettyPrinter.cpp.

Referenced by method(), and scopeNode().

ScopeDesc* scopeNode::_sd [protected]

Definition at line 272 of file prettyPrinter.cpp.

Referenced by scopeNode(), and sd().

int scopeNode::frame_index [protected]

Definition at line 270 of file prettyPrinter.cpp.

Referenced by print_frame_header(), and scopeNode().

int scopeNode::in [protected]

Definition at line 268 of file prettyPrinter.cpp.

Referenced by scopeNode().

klassOop scopeNode::klass [protected]

Definition at line 267 of file prettyPrinter.cpp.

Referenced by get_klass(), heap_temp_string(), inst_var_string(), print_frame_header(), and scopeNode().


The documentation for this class was generated from the following file:
Generated on Mon Oct 9 14:16:03 2006 for Strongtalk VM by  doxygen 1.4.7