public class InducedCFG.BranchVisitor extends SSAInstruction.Visitor
Modifier | Constructor and Description |
---|---|
protected |
BranchVisitor(boolean[] r) |
Modifier and Type | Method and Description |
---|---|
protected void |
breakBasicBlock(int index)
introduce a basic block boundary immediately after instruction number 'index' if it is not followed by pi instructions, or
after the pi instructions otherwise
|
void |
visitConditionalBranch(SSAConditionalBranchInstruction instruction) |
void |
visitGoto(SSAGotoInstruction instruction) |
void |
visitPhi(SSAPhiInstruction instruction) |
void |
visitReturn(SSAReturnInstruction instruction) |
void |
visitSwitch(SSASwitchInstruction instruction) |
void |
visitThrow(SSAThrowInstruction instruction) |
visitArrayLength, visitArrayLoad, visitArrayStore, visitBinaryOp, visitCheckCast, visitComparison, visitConversion, visitGet, visitGetCaughtException, visitInstanceof, visitInvoke, visitLoadMetadata, visitMonitor, visitNew, visitPi, visitPut, visitUnaryOp
public void visitGoto(SSAGotoInstruction instruction)
visitGoto
in interface SSAInstruction.IVisitor
visitGoto
in class SSAInstruction.Visitor
public void visitConditionalBranch(SSAConditionalBranchInstruction instruction)
visitConditionalBranch
in interface SSAInstruction.IVisitor
visitConditionalBranch
in class SSAInstruction.Visitor
public void visitSwitch(SSASwitchInstruction instruction)
visitSwitch
in interface SSAInstruction.IVisitor
visitSwitch
in class SSAInstruction.Visitor
public void visitPhi(SSAPhiInstruction instruction)
visitPhi
in interface SSAInstruction.IVisitor
visitPhi
in class SSAInstruction.Visitor
public void visitReturn(SSAReturnInstruction instruction)
visitReturn
in interface SSAInstruction.IVisitor
visitReturn
in class SSAInstruction.Visitor
public void visitThrow(SSAThrowInstruction instruction)
visitThrow
in interface SSAInstruction.IVisitor
visitThrow
in class SSAInstruction.Visitor
protected void breakBasicBlock(int index)
Copyright © 2019. All rights reserved.