Skip to content

Commit

Permalink
Terminate loop as soon as a conflict is found
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanhs committed Apr 18, 2015
1 parent 9c720ca commit 093d3d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/optimizer/optimizer.cpp
Expand Up @@ -3350,6 +3350,7 @@ void registerizeHarder(Ref ast) {
if (block->lastKillLoc[otherName] < block->firstDeadLoc[name]) {
jvar.conf.insert(otherName);
getJunctionVariable(otherName).conf.insert(name);
break;
}
}
}
Expand Down

0 comments on commit 093d3d5

Please sign in to comment.