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

Quick Search    Search Deep

Compil3r.Quad
Class MethodInline  view MethodInline download MethodInline.java

java.lang.Object
  extended byCompil3r.Quad.MethodInline
All Implemented Interfaces:
ControlFlowGraphVisitor

public class MethodInline
extends java.lang.Object
implements ControlFlowGraphVisitor

Version:
$Id: MethodInline.java,v 1.12 2003/07/08 13:24:05 joewhaley Exp $

Nested Class Summary
static class MethodInline.DontInline
           
static class MethodInline.InlineSmallSingleTargetCalls
           
static class MethodInline.InliningDecision
           
static class MethodInline.NoCheckInliningDecision
           
static interface MethodInline.Oracle
           
static class MethodInline.TypeCheckInliningDecision
           
 
Nested classes inherited from class Compil3r.Quad.ControlFlowGraphVisitor
ControlFlowGraphVisitor.CodeCacheVisitor
 
Field Summary
(package private)  CallGraph cg
           
(package private)  MethodInline.Oracle oracle
           
static java.io.PrintStream out
           
static boolean TRACE
           
static boolean TRACE_DECISIONS
           
static boolean TRACE_ORACLE
           
 
Constructor Summary
MethodInline()
           
MethodInline(CallGraph cg)
           
MethodInline(MethodInline.Oracle o)
           
 
Method Summary
static void inlineNonVirtualCallSite(ControlFlowGraph caller, BasicBlock bb, Quad q, ControlFlowGraph callee)
           
static void inlineVirtualCallSiteWithTypeCheck(ControlFlowGraph caller, BasicBlock bb, Quad q, ControlFlowGraph callee, Clazz.jq_Class type)
           
 void visitCFG(ControlFlowGraph cfg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE

public static final boolean TRACE
See Also:
Constant Field Values

TRACE_ORACLE

public static final boolean TRACE_ORACLE
See Also:
Constant Field Values

TRACE_DECISIONS

public static final boolean TRACE_DECISIONS
See Also:
Constant Field Values

out

public static final java.io.PrintStream out

oracle

MethodInline.Oracle oracle

cg

CallGraph cg
Constructor Detail

MethodInline

public MethodInline(MethodInline.Oracle o)

MethodInline

public MethodInline(CallGraph cg)

MethodInline

public MethodInline()
Method Detail

visitCFG

public void visitCFG(ControlFlowGraph cfg)
Specified by:
visitCFG in interface ControlFlowGraphVisitor

inlineNonVirtualCallSite

public static void inlineNonVirtualCallSite(ControlFlowGraph caller,
                                            BasicBlock bb,
                                            Quad q,
                                            ControlFlowGraph callee)

inlineVirtualCallSiteWithTypeCheck

public static void inlineVirtualCallSiteWithTypeCheck(ControlFlowGraph caller,
                                                      BasicBlock bb,
                                                      Quad q,
                                                      ControlFlowGraph callee,
                                                      Clazz.jq_Class type)