Package | Description |
---|---|
org.apache.flex.abc.graph |
This package cotains interfaces that define the behavior of a flowgraph.
|
org.apache.flex.abc.instructionlist |
This package contains an assembly-language-like serialization of a method body.
|
org.apache.flex.abc.optimize |
This package contains specialized visitors that transform their input
according to some figure of merit.
|
org.apache.flex.abc.semantics |
This package contains representations of the individual components of an ABC.
|
org.apache.flex.abc.visitors |
This package contains the most basic model of ABC, which uses visitors.
|
org.apache.flex.compiler.internal.as.codegen |
Modifier and Type | Method and Description |
---|---|
IBasicBlock |
IFlowgraph.getBlock(Label l)
Get a Label's target Block.
|
Modifier and Type | Method and Description |
---|---|
Label |
InstructionList.getLabel()
Fetch this InstructionList's label.
|
Label |
InstructionList.getLastLabel() |
Modifier and Type | Method and Description |
---|---|
ArrayList<Label> |
InstructionList.getActiveLabels() |
Collection<Label> |
InstructionList.stripPendingLabels()
This InstructionList is the "body" of a statement that needs to add more
logic.
|
Modifier and Type | Method and Description |
---|---|
void |
InstructionList.addLabelAt(Label l,
int pos)
Add a label at an arbitrary position.
|
void |
InstructionList.labelCurrent(Label l)
Label the last executable instruction in this InstructionList.
|
void |
InstructionList.labelFirst(Label l)
Label the first executable instruction in this InstructionList.
|
void |
InstructionList.labelNext(Label l)
Add a Label to this InstructionList's pendingLabels.
|
Modifier and Type | Method and Description |
---|---|
void |
InstructionList.addAllPendingLabels(Collection<Label> prev_pending)
Add pending labels acquired from a component list to this list's
pendingLabels collection.
|
Modifier and Type | Method and Description |
---|---|
void |
PeepholeOptimizerMethodBodyVisitor.labelCurrent(Label l)
Bind a Label object (not to be confused with the AVM OP_label
instruction) to the last-visited ABC instruction in this method.
|
void |
PeepholeOptimizerMethodBodyVisitor.labelNext(Label l)
Bind a Label object (not to be confused with the AVM OP_label
instruction) to the next ABC instruction that gets visited in this method
|
Modifier and Type | Method and Description |
---|---|
Label |
ExceptionInfo.getFrom() |
Label |
OneOperandInstruction.getTarget()
Get the target of a branch instruction.
|
Label |
Instruction.getTarget()
Get the target of a branch instruction.
|
Label |
ExceptionInfo.getTarget() |
Label |
ExceptionInfo.getTo() |
Modifier and Type | Method and Description |
---|---|
int |
Label.compareTo(Label o)
The natural sort order for a Label is its instruction's offset.
|
IBasicBlock |
MethodBodyInfo.getBlock(Label target)
Get the block that the label corresponds to.
|
IBasicBlock |
ControlFlowGraph.getBlock(Label l)
Get a Label's target Block.
|
IBasicBlock |
MethodBodyInfo.getBlock(Label target,
boolean throwOnError)
Get the block that the label corresponds to.
|
boolean |
MethodBodyInfo.isCatchTarget(Label l)
Does the given Label reference a catch target?
|
void |
MethodBodyInfo.labelCurrent(Label l)
Pass through a labelCurrent() request to the resident InstructionList.
|
void |
MethodBodyInfo.labelNext(Label l)
Pass through a labelNext() request to the resident InstructionList.
|
void |
OneOperandInstruction.setTarget(Label target)
Set the target of a branch instruction.
|
void |
Instruction.setTarget(Label target)
Set the target of a branch instruction.
|
Constructor and Description |
---|
ExceptionInfo(Label from,
Label to,
Label target,
Name type,
Name catchVar)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
NilMethodBodyVisitor.labelCurrent(Label l) |
void |
IMethodBodyVisitor.labelCurrent(Label l)
Bind a Label object (not to be confused with the AVM OP_label
instruction) to the last-visited ABC instruction in this method.
|
void |
DelegatingMethodBodyVisitor.labelCurrent(Label l) |
void |
NilMethodBodyVisitor.labelNext(Label l) |
void |
IMethodBodyVisitor.labelNext(Label l)
Bind a Label object (not to be confused with the AVM OP_label
instruction) to the next ABC instruction that gets visited in this method
|
void |
DelegatingMethodBodyVisitor.labelNext(Label l) |
int |
NilMethodBodyVisitor.visitException(Label from,
Label to,
Label target,
Name exception_type,
Name catch_var) |
int |
IMethodBodyVisitor.visitException(Label from,
Label to,
Label target,
Name exceptionType,
Name catchVar)
Visit an exception handler.
|
int |
DelegatingMethodBodyVisitor.visitException(Label from,
Label to,
Label target,
Name exception_type,
Name catch_var) |
Modifier and Type | Method and Description |
---|---|
Label |
LoopControlFlowContext.getBreakLabel() |
Label |
InlineFunctionLexicalScope.getInlinedFunctionCallSiteLabel()
Returns the label to jump back to when returning
out of an inlined function
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.