diff options
author | Jim Laskey <jlaskey@mac.com> | 2007-01-26 21:22:28 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2007-01-26 21:22:28 +0000 |
commit | 44c3b9fdd416c79f4b67cde1aecfced5921efd81 (patch) | |
tree | 0d8002c19d49540943831d56faa04495b4a20f6e /lib/CodeGen/PrologEpilogInserter.cpp | |
parent | fce1765a19565954b2b4629cf214b516663e7cbc (diff) | |
download | external_llvm-44c3b9fdd416c79f4b67cde1aecfced5921efd81.zip external_llvm-44c3b9fdd416c79f4b67cde1aecfced5921efd81.tar.gz external_llvm-44c3b9fdd416c79f4b67cde1aecfced5921efd81.tar.bz2 |
Change the MachineDebugInfo to MachineModuleInfo to better reflect usage
for debugging and exception handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r-- | lib/CodeGen/PrologEpilogInserter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp index 6c3e2d0..d81ec8b 100644 --- a/lib/CodeGen/PrologEpilogInserter.cpp +++ b/lib/CodeGen/PrologEpilogInserter.cpp @@ -38,10 +38,10 @@ namespace { /// frame indexes with appropriate references. /// bool runOnMachineFunction(MachineFunction &Fn) { - // Get MachineDebugInfo so that we can track the construction of the + // Get MachineModuleInfo so that we can track the construction of the // frame. - if (MachineDebugInfo *DI = getAnalysisToUpdate<MachineDebugInfo>()) { - Fn.getFrameInfo()->setMachineDebugInfo(DI); + if (MachineModuleInfo *MMI = getAnalysisToUpdate<MachineModuleInfo>()) { + Fn.getFrameInfo()->setMachineModuleInfo(MMI); } // Allow the target machine to make some adjustments to the function |