MethodInterval Class Reference

#include <methodIterator.hpp>

Inheritance diagram for MethodInterval:

Inheritance graph
[legend]
Collaboration diagram for MethodInterval:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool includes (int bci) const
methodOop method () const
int begin_bci () const
int end_bci () const
MethodIntervalparent () const
bool in_prim_failure_block () const
void set_prim_failure (bool f)

Protected Member Functions

void initialize (methodOop method, MethodInterval *parent, int begin_bci, int end_bci, bool failBlock)
void set_end_bci (int bci)
 MethodInterval (methodOop method, MethodInterval *parent)
 MethodInterval (methodOop method, MethodInterval *parent, int begin_bci, int end_bci=-1, bool failureBlock=false)

Protected Attributes

MethodInterval_parent
methodOop _method
int _begin_bci
int _end_bci
bool _in_prim_failure

Friends

class MethodIntervalFactory

Detailed Description

Definition at line 29 of file methodIterator.hpp.


Constructor & Destructor Documentation

MethodInterval::MethodInterval ( methodOop  method,
MethodInterval parent 
) [protected]

Definition at line 30 of file methodIterator.cpp.

References methodOopDesc::end_bci(), initialize(), method(), and parent().

Here is the call graph for this function:

MethodInterval::MethodInterval ( methodOop  method,
MethodInterval parent,
int  begin_bci,
int  end_bci = -1,
bool  failureBlock = false 
) [protected]

Definition at line 34 of file methodIterator.cpp.

References initialize(), method(), and parent().

Here is the call graph for this function:


Member Function Documentation

int MethodInterval::begin_bci (  )  const [inline]

Definition at line 55 of file methodIterator.hpp.

References _begin_bci.

Referenced by MethodIterator::dispatch(), and includes().

int MethodInterval::end_bci (  )  const [inline]

Definition at line 56 of file methodIterator.hpp.

References _end_bci.

Referenced by CondNode::CondNode(), MethodIterator::dispatch(), ExternalCallNode::ExternalCallNode(), MethodPrinterClosure::if_node(), IfNode::IfNode(), includes(), MethodPrinterClosure::while_node(), and WhileNode::WhileNode().

bool MethodInterval::in_prim_failure_block (  )  const [inline]

Definition at line 60 of file methodIterator.hpp.

References _in_prim_failure.

Referenced by MethodIterator::dispatch().

bool MethodInterval::includes ( int  bci  )  const [inline]

Definition at line 51 of file methodIterator.hpp.

References begin_bci(), and end_bci().

Referenced by ExpressionStackMapper::cond_node(), ExpressionStackMapper::if_node(), and ExpressionStackMapper::while_node().

Here is the call graph for this function:

void MethodInterval::initialize ( methodOop  method,
MethodInterval parent,
int  begin_bci,
int  end_bci,
bool  failBlock 
) [protected]

Definition at line 38 of file methodIterator.cpp.

References _begin_bci, _end_bci, _in_prim_failure, _method, _parent, method(), and parent().

Referenced by MethodInterval().

Here is the call graph for this function:

methodOop MethodInterval::method (  )  const [inline]

Definition at line 54 of file methodIterator.hpp.

References _method.

Referenced by CondNode::CondNode(), MethodIterator::dispatch(), ExternalCallNode::ExternalCallNode(), IfNode::IfNode(), initialize(), MethodInterval(), and WhileNode::WhileNode().

MethodInterval* MethodInterval::parent (  )  const [inline]

Definition at line 57 of file methodIterator.hpp.

References _parent.

Referenced by initialize(), and MethodInterval().

void MethodInterval::set_end_bci ( int  bci  )  [inline, protected]

Definition at line 41 of file methodIterator.hpp.

References _end_bci.

Referenced by IfNode::IfNode(), and WhileNode::WhileNode().

void MethodInterval::set_prim_failure ( bool  f  )  [inline]

Definition at line 61 of file methodIterator.hpp.

References _in_prim_failure.


Friends And Related Function Documentation

friend class MethodIntervalFactory [friend]

Reimplemented in AndNode, OrNode, WhileNode, IfNode, PrimitiveCallNode, and DLLCallNode.

Definition at line 47 of file methodIterator.hpp.


Member Data Documentation

int MethodInterval::_begin_bci [protected]

Definition at line 33 of file methodIterator.hpp.

Referenced by begin_bci(), and initialize().

int MethodInterval::_end_bci [protected]

Definition at line 34 of file methodIterator.hpp.

Referenced by end_bci(), initialize(), and set_end_bci().

bool MethodInterval::_in_prim_failure [protected]

Definition at line 35 of file methodIterator.hpp.

Referenced by in_prim_failure_block(), initialize(), and set_prim_failure().

methodOop MethodInterval::_method [protected]

Definition at line 32 of file methodIterator.hpp.

Referenced by initialize(), and method().

MethodInterval* MethodInterval::_parent [protected]

Definition at line 31 of file methodIterator.hpp.

Referenced by initialize(), and parent().


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