projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[RS4GC] Dont' propagate call attrs related to patchable statepoints
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
FlattenCFGPass.cpp
diff --git
a/lib/Transforms/Scalar/FlattenCFGPass.cpp
b/lib/Transforms/Scalar/FlattenCFGPass.cpp
index 34ac46dd8dc89970855ecdbc84f6eedaf669be02..185cdbdda37811501f5eb2e0ffaec5876a931011 100644
(file)
--- a/
lib/Transforms/Scalar/FlattenCFGPass.cpp
+++ b/
lib/Transforms/Scalar/FlattenCFGPass.cpp
@@
-59,7
+59,7
@@
static bool iterativelyFlattenCFG(Function &F, AliasAnalysis *AA) {
// Loop over all of the basic blocks and remove them if they are unneeded...
//
for (Function::iterator BBIt = F.begin(); BBIt != F.end();) {
- if (FlattenCFG(BBIt++, AA)) {
+ if (FlattenCFG(
&*
BBIt++, AA)) {
LocalChange = true;
}
}