Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.Quad
Class MethodInline.InlineSmallSingleTargetCalls  view MethodInline.InlineSmallSingleTargetCalls download MethodInline.InlineSmallSingleTargetCalls.java

java.lang.Object
  extended byCompil3r.Quad.MethodInline.InlineSmallSingleTargetCalls
All Implemented Interfaces:
MethodInline.Oracle
Enclosing class:
MethodInline

public static class MethodInline.InlineSmallSingleTargetCalls
extends java.lang.Object
implements MethodInline.Oracle


Field Summary
(package private)  int bcThreshold
           
protected  CallGraph cg
           
static int DEFAULT_THRESHOLD
           
 
Constructor Summary
MethodInline.InlineSmallSingleTargetCalls(CallGraph cg)
           
MethodInline.InlineSmallSingleTargetCalls(CallGraph cg, int bcThreshold)
           
 
Method Summary
 MethodInline.InliningDecision shouldInline(ControlFlowGraph caller, BasicBlock bb, Quad callSite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cg

protected CallGraph cg

bcThreshold

int bcThreshold

DEFAULT_THRESHOLD

public static final int DEFAULT_THRESHOLD
See Also:
Constant Field Values
Constructor Detail

MethodInline.InlineSmallSingleTargetCalls

public MethodInline.InlineSmallSingleTargetCalls(CallGraph cg)

MethodInline.InlineSmallSingleTargetCalls

public MethodInline.InlineSmallSingleTargetCalls(CallGraph cg,
                                                 int bcThreshold)
Method Detail

shouldInline

public MethodInline.InliningDecision shouldInline(ControlFlowGraph caller,
                                                  BasicBlock bb,
                                                  Quad callSite)
Specified by:
shouldInline in interface MethodInline.Oracle