Trivial cleanup patch

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-04 20:27:46 +00:00
parent 3381913322
commit f57cc3b7e2

View File

@ -1061,10 +1061,10 @@ void GraphBuilder::mergeInGlobalInitializer(GlobalVariable *GV) {
bool LocalDataStructures::runOnModule(Module &M) {
GlobalsGraph = new DSGraph(getAnalysis<TargetData>());
const TargetData &TD = getAnalysis<TargetData>();
GlobalsGraph = new DSGraph(TD);
{
GraphBuilder GGB(*GlobalsGraph);