diff options
| -rw-r--r-- | lib/Analysis/ProfileInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index 4f6cdd0..36f211e 100644 --- a/lib/Analysis/ProfileInfo.cpp +++ b/lib/Analysis/ProfileInfo.cpp @@ -927,7 +927,7 @@ void ProfileInfoT<Function,BasicBlock>::repair(const Function *F) { Path P; const BasicBlock *Dest = GetPath(BB, 0, P, GetPathToExit | GetPathWithNewEdges); - Dest = P[ reinterpret_cast<const llvm::BasicBlock*>(0) ]; + Dest = P[0]; if (!Dest) continue; if (getEdgeWeight(getEdge(Dest,0)) == MissingValue) { |
