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 | c56315c2b538fb5f95178254fe8a4f10578487c4 (patch) | |
tree | 5935e37c5d5ce7b31f395b025ee42da0766ae0a5 /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | d45cd5eb812e35fbf9c7003fade2a6747ac4d652 (diff) | |
download | bcm5719-llvm-c56315c2b538fb5f95178254fe8a4f10578487c4.tar.gz bcm5719-llvm-c56315c2b538fb5f95178254fe8a4f10578487c4.zip |
Change the MachineDebugInfo to MachineModuleInfo to better reflect usage
for debugging and exception handling.
llvm-svn: 33550
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/PrologEpilogInserter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp index 6c3e2d041c0..d81ec8bea21 100644 --- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp +++ b/llvm/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 |