From f57cc3b7e279a645f886362506c8a79ea4be9137 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 4 Mar 2005 20:27:46 +0000 Subject: [PATCH] Trivial cleanup patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20436 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/Local.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index b2a905e0e59..070b695b34c 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/lib/Analysis/DataStructure/Local.cpp @@ -1061,10 +1061,10 @@ void GraphBuilder::mergeInGlobalInitializer(GlobalVariable *GV) { bool LocalDataStructures::runOnModule(Module &M) { - GlobalsGraph = new DSGraph(getAnalysis()); - const TargetData &TD = getAnalysis(); + GlobalsGraph = new DSGraph(TD); + { GraphBuilder GGB(*GlobalsGraph);