Fixed getPis method.

This commit is contained in:
Stephan Gocht 2015-10-19 23:15:40 +02:00
parent 4e073e9afe
commit e85816a986
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class CompoundPiPolicy implements SSAPiNodePolicy {
public List<Pair<Integer, SSAInstruction>> getPis(SSAConditionalBranchInstruction cond, SSAInstruction def1, SSAInstruction def2,
SymbolTable symbolTable) {
LinkedList<Pair<Integer, SSAInstruction>> result = new LinkedList<>();
result.add(getPi(cond, def1, def2, symbolTable));
result.addAll(getPis(cond, def1, def2, symbolTable));
return result;
}