summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2007-01-26 21:22:28 +0000
committerJim Laskey <jlaskey@mac.com>2007-01-26 21:22:28 +0000
commit44c3b9fdd416c79f4b67cde1aecfced5921efd81 (patch)
tree0d8002c19d49540943831d56faa04495b4a20f6e /lib/CodeGen/PrologEpilogInserter.cpp
parentfce1765a19565954b2b4629cf214b516663e7cbc (diff)
downloadexternal_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.cpp6
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