WhileNode Class Reference

#include <methodIterator.hpp>

Inheritance diagram for WhileNode:

Inheritance graph
[legend]
Collaboration diagram for WhileNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

MethodIntervalexpr_code () const
MethodIntervalbody_code () const
symbolOop selector () const
bool is_whileTrue () const
bool is_whileFalse () const

Protected Member Functions

 WhileNode (methodOop method, MethodInterval *parent, int begin_bci, int next_bci, int cond_offset, int end_offset)

Protected Attributes

bool _cond
MethodInterval_expr_code
MethodInterval_body_code

Friends

class MethodIntervalFactory

Detailed Description

Definition at line 139 of file methodIterator.hpp.


Constructor & Destructor Documentation

WhileNode::WhileNode ( methodOop  method,
MethodInterval parent,
int  begin_bci,
int  next_bci,
int  cond_offset,
int  end_offset 
) [protected]

Definition at line 86 of file methodIterator.cpp.

References _body_code, _cond, _expr_code, CodeIterator::code(), MethodInterval::end_bci(), expr_code(), MethodIterator::factory, fatal, MethodInterval::method(), AbstractMethodIntervalFactory::new_MethodInterval(), CodeIterator::next_bci(), MethodInterval::set_end_bci(), Bytecodes::whileFalse_byte, Bytecodes::whileFalse_word, Bytecodes::whileTrue_byte, and Bytecodes::whileTrue_word.

Here is the call graph for this function:


Member Function Documentation

MethodInterval* WhileNode::body_code (  )  const [inline]

Definition at line 153 of file methodIterator.hpp.

References _body_code.

Referenced by selector(), MethodPrettyPrinter::while_node(), MethodPrinterClosure::while_node(), TransitiveMethodClosure::while_node(), ExpressionStackMapper::while_node(), and SpecializedMethodClosure::while_node().

MethodInterval* WhileNode::expr_code (  )  const [inline]

Definition at line 151 of file methodIterator.hpp.

References _expr_code.

Referenced by MethodPrettyPrinter::while_node(), MethodPrinterClosure::while_node(), ExpressionStackMapper::while_node(), SpecializedMethodClosure::while_node(), and WhileNode().

bool WhileNode::is_whileFalse (  )  const [inline]

Definition at line 158 of file methodIterator.hpp.

References _cond.

bool WhileNode::is_whileTrue (  )  const [inline]

Definition at line 157 of file methodIterator.hpp.

References _cond.

Referenced by selector().

symbolOop WhileNode::selector (  )  const [virtual]

Implements InlineSendNode.

Definition at line 115 of file methodIterator.cpp.

References body_code(), and is_whileTrue().

Referenced by MethodPrettyPrinter::while_node(), and MethodPrinterClosure::while_node().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class MethodIntervalFactory [friend]

Reimplemented from MethodInterval.

Definition at line 147 of file methodIterator.hpp.


Member Data Documentation

MethodInterval* WhileNode::_body_code [protected]

Definition at line 143 of file methodIterator.hpp.

Referenced by body_code(), and WhileNode().

bool WhileNode::_cond [protected]

Definition at line 141 of file methodIterator.hpp.

Referenced by is_whileFalse(), is_whileTrue(), and WhileNode().

MethodInterval* WhileNode::_expr_code [protected]

Definition at line 142 of file methodIterator.hpp.

Referenced by expr_code(), and WhileNode().


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