|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.inlining.Inliner
public class Inliner
This class contains the high level logic for executing an inlining decision.
InlineDecision
,
GenerationContext
Field Summary | |
---|---|
private static boolean |
COUNT_FAILED_GUARDS
The following flag enables debug counters and requires an adaptive boot image and flag "INSERT_DEBUGGING_COUNTERS" to be true. |
Constructor Summary | |
---|---|
Inliner()
|
Method Summary | |
---|---|
static GenerationContext |
execute(InlineDecision inlDec,
GenerationContext parent,
ExceptionHandlerBasicBlockBag ebag,
Instruction callSite)
Return a generation context that represents the execution of inlDec in the context <parent,ebag> for
the call instruction callSite. |
static void |
execute(InlineDecision inlDec,
IR ir,
Instruction callSite)
Execute an inlining decision inlDec for the CALL instruction callSite that is contained in ir. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final boolean COUNT_FAILED_GUARDS
Constructor Detail |
---|
public Inliner()
Method Detail |
---|
public static void execute(InlineDecision inlDec, IR ir, Instruction callSite)
inlDec
- the inlining decision to executeir
- the governing IRcallSite
- the call site to inlinepublic static GenerationContext execute(InlineDecision inlDec, GenerationContext parent, ExceptionHandlerBasicBlockBag ebag, Instruction callSite)
<parent,ebag>
for
the call instruction callSite.
PRECONDITION: inlDec.isYes()
POSTCONDITIONS: Let gc be the returned generation context.
inlDec
- the inlining decision to executeparent
- the caller generation contextebag
- exception handler scope for the callercallSite
- the callsite to execute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |