projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warning when assertions disabled.
[oota-llvm.git]
/
lib
/
Analysis
/
SparsePropagation.cpp
diff --git
a/lib/Analysis/SparsePropagation.cpp
b/lib/Analysis/SparsePropagation.cpp
index 59a63d40854696da01ecf50e83468ef054f697b8..2fda64c733502ff7605f6cf83a1045d40b790e74 100644
(file)
--- a/
lib/Analysis/SparsePropagation.cpp
+++ b/
lib/Analysis/SparsePropagation.cpp
@@
-272,7
+272,7
@@
void SparseSolver::visitInst(Instruction &I) {
}
void SparseSolver::Solve(Function &F) {
- MarkBlockExecutable(
F.begin
());
+ MarkBlockExecutable(
&F.getEntryBlock
());
// Process the work lists until they are empty!
while (!BBWorkList.empty() || !InstWorkList.empty()) {