aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-01-28 13:14:17 +0000
committerDuncan Sands <baldrick@free.fr>2009-01-28 13:14:17 +0000
commit4e0d6a7d48464188a1a25b544a6355326d3fd3bf (patch)
tree5a066582fade4aa68d9608de87fb15a0400fe12a /lib/CodeGen/MachineModuleInfo.cpp
parentd802e30e9a3f885ac5a7179ba8cc03b603b96dc2 (diff)
downloadexternal_llvm-4e0d6a7d48464188a1a25b544a6355326d3fd3bf.zip
external_llvm-4e0d6a7d48464188a1a25b544a6355326d3fd3bf.tar.gz
external_llvm-4e0d6a7d48464188a1a25b544a6355326d3fd3bf.tar.bz2
Rename getAnalysisToUpdate to getAnalysisIfAvailable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp
index 724c113..1c29c7f 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.