org.jikesrvm.compilers.opt.inlining
Class CallSiteTreeNode

java.lang.Object
  extended by org.jikesrvm.compilers.opt.util.TreeNode
      extended by org.jikesrvm.compilers.opt.inlining.CallSiteTreeNode

public class CallSiteTreeNode
extends TreeNode

The nodes of an CallSiteTree. They represent inlined call sites of a given method code body; a node stands for a single call site. These trees are used to construct the persistent runtime encoding of inlining information, which is stored in OptMachineCodeMap objects.

See Also:
CallSiteTree, InlineSequence, OptMachineCodeMap, OptEncodedCallSiteTree

Field Summary
 InlineSequence callSite
          The call site represented by this tree node
 int encodedOffset
          The position of this call site in the binary encoding.
 
Constructor Summary
CallSiteTreeNode(InlineSequence seq)
          construct a a call site tree node corresponding to a given inlined call site
 
Method Summary
 
Methods inherited from class org.jikesrvm.compilers.opt.util.TreeNode
addChild, clear, getChildren, getLeftChild, getParent, getRightSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callSite

public final InlineSequence callSite
The call site represented by this tree node


encodedOffset

public int encodedOffset
The position of this call site in the binary encoding. It is set by OptEncodedCallSiteTree.getEncoding.

See Also:
OptEncodedCallSiteTree.getEncoding(org.jikesrvm.compilers.opt.inlining.CallSiteTree)
Constructor Detail

CallSiteTreeNode

public CallSiteTreeNode(InlineSequence seq)
construct a a call site tree node corresponding to a given inlined call site

Parameters:
seq - an inlined call site