Commit c5edf974 authored by Yudi Zheng's avatar Yudi Zheng

Analysis method in MethodAnalysisContext is changed to protected

parent bba93b65
......@@ -40,7 +40,7 @@ public class BasicBlockStaticContext extends
}
@Override
public CtrlFlowGraph analysis(MethodNode method) {
protected CtrlFlowGraph analysis(MethodNode method) {
return new CtrlFlowGraph(method);
}
}
......@@ -16,7 +16,7 @@ public class LoopStaticContext extends BasicBlockStaticContext {
private Map<BasicBlock, Set<BasicBlock>> dominatormapping;
@Override
public CtrlFlowGraph analysis(MethodNode method) {
protected CtrlFlowGraph analysis(MethodNode method) {
CtrlFlowGraph cfg = CtrlFlowGraph.build(method);
......
......@@ -26,6 +26,6 @@ public abstract class MethodAnalysisContext<V> extends AbstractStaticContext {
}
}
public abstract V analysis(MethodNode method);
protected abstract V analysis(MethodNode method);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment