diff options
author | Tanya Lattner <tonic@nondot.org> | 2009-02-03 05:07:10 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2009-02-03 05:07:10 +0000 |
commit | 682ae9aa345df80fab3180fd494c99853e7de436 (patch) | |
tree | ff9e30cb68f18ffd4e6a5061fd8c1b64da01a298 /lib/CodeGen/MachineModuleInfo.cpp | |
parent | 254a6e0c63b22de9ddca2fadbeb335abd9735920 (diff) | |
parent | dac5c4b10b387b55c2394cd98a64f3f1394df2e8 (diff) |
Create 2.5 branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_25@63604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | lib/CodeGen/MachineModuleInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index 724c113b79..1c29c7fed3 100644 --- a/lib/CodeGen/MachineModuleInfo.cpp +++ b/lib/CodeGen/MachineModuleInfo.cpp @@ -320,7 +320,7 @@ char DebugLabelFolder::ID = 0; bool DebugLabelFolder::runOnMachineFunction(MachineFunction &MF) { // Get machine module info. - MachineModuleInfo *MMI = getAnalysisToUpdate<MachineModuleInfo>(); + MachineModuleInfo *MMI = getAnalysisIfAvailable<MachineModuleInfo>(); if (!MMI) return false; // Track if change is made. |