diff options
author | Eric Christopher <echristo@gmail.com> | 2013-06-26 22:44:57 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-06-26 22:44:57 +0000 |
commit | b8c608ea39eec94a9e6b23cdd8a6087e07e86a5e (patch) | |
tree | 98ef3a6b7036d99ccd01169f877a64de844333dc /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 7b78d359fbad5fa8a42367916e037d83c23c5f78 (diff) | |
download | bcm5719-llvm-b8c608ea39eec94a9e6b23cdd8a6087e07e86a5e.tar.gz bcm5719-llvm-b8c608ea39eec94a9e6b23cdd8a6087e07e86a5e.zip |
Revert "Debug Info: clean up usage of Verify." as it's breaking bots.
This reverts commit r185020
llvm-svn: 185032
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/Local.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp index 1878a54c9ac..12e5b3e9d2e 100644 --- a/llvm/lib/Transforms/Utils/Local.cpp +++ b/llvm/lib/Transforms/Utils/Local.cpp @@ -854,7 +854,7 @@ static bool LdStHasDebugValue(DIVariable &DIVar, Instruction *I) { bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, StoreInst *SI, DIBuilder &Builder) { DIVariable DIVar(DDI->getVariable()); - if (!DIVar.isVariable()) + if (!DIVar.Verify()) return false; if (LdStHasDebugValue(DIVar, SI)) @@ -888,7 +888,7 @@ bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, LoadInst *LI, DIBuilder &Builder) { DIVariable DIVar(DDI->getVariable()); - if (!DIVar.isVariable()) + if (!DIVar.Verify()) return false; if (LdStHasDebugValue(DIVar, LI)) @@ -961,7 +961,7 @@ bool llvm::replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress, if (!DDI) return false; DIVariable DIVar(DDI->getVariable()); - if (!DIVar.isVariable()) + if (!DIVar.Verify()) return false; // Create a copy of the original DIDescriptor for user variable, appending |