File tree 1 file changed +3
-3
lines changed
sootup.core/src/main/java/sootup/core/util/printer
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,10 +113,10 @@ public Iterable<Stmt> initializeSootMethod(@Nonnull StmtGraph<?> stmtGraph) {
113
113
114
114
@ Nonnull
115
115
public List <Stmt > getStmts (@ Nonnull StmtGraph <?> stmtGraph ) {
116
- final Collection <Stmt > labeledStmts = stmtGraph .getLabeledStmts ();
116
+ final Collection <Stmt > targetStmtsOfBranches = stmtGraph .getLabeledStmts ();
117
117
final List <Trap > traps = stmtGraph .buildTraps ();
118
118
119
- final int maxEstimatedSize = labeledStmts .size () + traps .size () * 3 ;
119
+ final int maxEstimatedSize = targetStmtsOfBranches .size () + traps .size () * 3 ;
120
120
labels = new HashMap <>(maxEstimatedSize , 1 );
121
121
references = new HashMap <>(maxEstimatedSize , 1 );
122
122
@@ -135,7 +135,7 @@ public List<Stmt> getStmts(@Nonnull StmtGraph<?> stmtGraph) {
135
135
// Build labelStmts and refStmts -> is stmt head of a block (as its a branch target/trapHandler
136
136
// or is the begin of a trap-range) or does it mark the end of a trap range
137
137
// does it need a label
138
- for (Stmt stmt : labeledStmts ) {
138
+ for (Stmt stmt : targetStmtsOfBranches ) {
139
139
if (stmtGraph .isStmtBranchTarget (stmt ) || trapStmts .contains (stmt )) {
140
140
labelStmts .add (stmt );
141
141
} else {
You can’t perform that action at this time.
0 commit comments