commit | 820e55e9ad3cb3b17780e84863648e431b571d25 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Apr 05 05:49:50 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Apr 05 05:49:50 2010 +0000 |
tree | 1024993addefdc20ee3c5ba8818fce869392b237 | |
parent | 00759c15e00e44214b752cc53829b1ef5f624cb0 [diff] [blame] |
enhance MachineFunction to have a MMI pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100414 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineFunctionAnalysis.cpp b/lib/CodeGen/MachineFunctionAnalysis.cpp index d3f1d82..faddcb2 100644 --- a/lib/CodeGen/MachineFunctionAnalysis.cpp +++ b/lib/CodeGen/MachineFunctionAnalysis.cpp
@@ -38,7 +38,7 @@ bool MachineFunctionAnalysis::runOnFunction(Function &F) { assert(!MF && "MachineFunctionAnalysis already initialized!"); MF = new MachineFunction(&F, TM, NextFnNum++, - getAnalysis<MachineModuleInfo>().getContext()); + getAnalysis<MachineModuleInfo>()); return false; }