本文整理汇总了Java中scouter.javassist.bytecode.stackmap.BasicBlock类的典型用法代码示例。如果您正苦于以下问题:Java BasicBlock类的具体用法?Java BasicBlock怎么用?Java BasicBlock使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BasicBlock类属于scouter.javassist.bytecode.stackmap包,在下文中一共展示了BasicBlock类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: makeDepth1stTree
import scouter.javassist.bytecode.stackmap.BasicBlock; //导入依赖的package包/类
int makeDepth1stTree(Node caller, boolean[] visited, int counter, int[] distance, Access access) {
int index = block.index;
if (visited[index])
return counter;
visited[index] = true;
parent = caller;
BasicBlock[] exits = access.exits(this);
if (exits != null)
for (int i = 0; i < exits.length; i++) {
Node n = access.node(exits[i]);
counter = n.makeDepth1stTree(this, visited, counter, distance, access);
}
distance[index] = counter++;
return counter;
}
示例2: Catcher
import scouter.javassist.bytecode.stackmap.BasicBlock; //导入依赖的package包/类
Catcher(BasicBlock.Catch c) {
node = (Block)c.body;
typeIndex = c.typeIndex;
}
示例3: getExit
import scouter.javassist.bytecode.stackmap.BasicBlock; //导入依赖的package包/类
BasicBlock[] getExit() { return exit; }
示例4: node
import scouter.javassist.bytecode.stackmap.BasicBlock; //导入依赖的package包/类
Node node(BasicBlock b) { return all[((Block)b).index]; }
示例5: exits
import scouter.javassist.bytecode.stackmap.BasicBlock; //导入依赖的package包/类
abstract BasicBlock[] exits(Node n);
示例6: entrances
import scouter.javassist.bytecode.stackmap.BasicBlock; //导入依赖的package包/类
abstract BasicBlock[] entrances(Node n);