Skip to content

Commit fdc5030

Browse files
committed
added type information
1 parent f2ec341 commit fdc5030

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/soot/toolkits/scalar/LocalSplitter.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public LocalSplitter( ThrowAnalysis ta ) {
8686
public static LocalSplitter v() { return G.v().soot_toolkits_scalar_LocalSplitter(); }
8787

8888
@Override
89-
protected void internalTransform(Body body, String phaseName, Map options)
89+
protected void internalTransform(Body body, String phaseName, Map<String, String> options)
9090
{
9191
if (this.throwAnalysis == null)
9292
this.throwAnalysis = Scene.v().getDefaultThrowAnalysis();
@@ -116,8 +116,7 @@ protected void internalTransform(Body body, String phaseName, Map options)
116116
Map<ValueBox, Unit> boxToUnit = new HashMap<ValueBox, Unit>(units.size() * 2 + 1, 0.7f);
117117

118118
Iterator<Unit> codeIt = units.iterator();
119-
120-
119+
121120
while(codeIt.hasNext())
122121
{
123122
Unit s = (Unit) codeIt.next();
@@ -137,7 +136,7 @@ protected void internalTransform(Body body, String phaseName, Map options)
137136

138137
List<ValueBox> web = new ArrayList<ValueBox>();
139138
webs.add(web);
140-
139+
141140
defsToVisit.add(s);
142141
markedBoxes.add(loBox);
143142

@@ -147,7 +146,7 @@ protected void internalTransform(Body body, String phaseName, Map options)
147146
{
148147
Unit d = defsToVisit.removeFirst();
149148
web.add(d.getDefBoxes().get(0));
150-
149+
151150
// Add all the uses of this definition to the queue
152151
for (UnitValueBoxPair use : localUses.getUsesOf(d)) {
153152
if(!markedBoxes.contains(use.valueBox)) {

0 commit comments

Comments
 (0)