diff options
author | Duncan Sands <baldrick@free.fr> | 2009-01-28 13:14:17 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-01-28 13:14:17 +0000 |
commit | 5a913d61e3480f0ef825e284c09a7811deef8a1c (patch) | |
tree | e1897705641e56cdf229eecacc9e4c1eeca380d1 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 08e53d041f6b0cb0d6367a2173569a5005114070 (diff) | |
download | bcm5719-llvm-5a913d61e3480f0ef825e284c09a7811deef8a1c.tar.gz bcm5719-llvm-5a913d61e3480f0ef825e284c09a7811deef8a1c.zip |
Rename getAnalysisToUpdate to getAnalysisIfAvailable.
llvm-svn: 63198
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineModuleInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index 724c113b79b..1c29c7fed35 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/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. |