From d735ee85dbab8e4f66f9ec157f19956e0d11ec7a Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 27 Nov 2007 03:43:35 +0000 Subject: Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. This involves a small interface change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44348 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LoopInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis/LoopInfo.cpp') diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index 559f676806..d0e7a77eed 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -43,7 +43,7 @@ X("loops", "Natural Loop Construction", true); // bool LoopInfo::runOnFunction(Function &) { releaseMemory(); - LI->Calculate(getAnalysis()); // Update + LI->Calculate(getAnalysis().getBase()); // Update return false; } -- cgit v1.2.3