mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-01 10:02:42 +00:00
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:
parent
3381913322
commit
f57cc3b7e2
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user