Skip to content

Commit

Permalink
fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzun66 committed Jan 14, 2025
1 parent 4959c49 commit 86bf020
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

import com.google.common.collect.Lists;
import java.util.*;
import java.util.stream.Collectors;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.apache.commons.lang3.tuple.MutablePair;
Expand Down Expand Up @@ -1516,6 +1517,12 @@ public BasicBlock<?> getStartingStmtBlock() {
return getBlockOf(startingStmt);
}

@Override
@Nonnull
public List<BasicBlock<?>> getTailStmtBlocks() {
return getTails().stream().map(stmt -> getBlockOf(stmt)).collect(Collectors.toList());
}

@Override
@Nullable
public BasicBlock<?> getBlockOf(@Nonnull Stmt stmt) {
Expand Down

0 comments on commit 86bf020

Please sign in to comment.