X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FAnalysis%2FSparsePropagation.cpp;h=2fda64c733502ff7605f6cf83a1045d40b790e74;hb=629c1a3f78494d0dd769fe82bd2bd17df0555843;hp=59a63d40854696da01ecf50e83468ef054f697b8;hpb=b22d6ac348ca632bef17dc8050b14d8cb78218f3;p=oota-llvm.git diff --git a/lib/Analysis/SparsePropagation.cpp b/lib/Analysis/SparsePropagation.cpp index 59a63d40854..2fda64c7335 100644 --- 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()) {