diff options
author | Manman Ren <mren@apple.com> | 2013-07-08 18:33:29 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-07-08 18:33:29 +0000 |
commit | 7504ed42557e7b93c1f9282a2471f206ecfef4c1 (patch) | |
tree | 3b00583c21482a4ab561eb5afeb63dd675c597c1 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | 24e102a947d169b6415627d5d0a547965355a18a (diff) | |
download | bcm5719-llvm-7504ed42557e7b93c1f9282a2471f206ecfef4c1.tar.gz bcm5719-llvm-7504ed42557e7b93c1f9282a2471f206ecfef4c1.zip |
Debug Info: clean up usage of Verify.
No functionality change. It should suffice to check the type of a debug info
metadata, instead of calling Verify.
llvm-svn: 185847
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 2d2467a0d2b..36bd3742361 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -193,15 +193,15 @@ public: } bool variableHasComplexAddress() const { - assert(Var.Verify() && "Invalid complex DbgVariable!"); + assert(Var.isVariable() && "Invalid complex DbgVariable!"); return Var.hasComplexAddress(); } bool isBlockByrefVariable() const { - assert(Var.Verify() && "Invalid complex DbgVariable!"); + assert(Var.isVariable() && "Invalid complex DbgVariable!"); return Var.isBlockByrefVariable(); } unsigned getNumAddrElements() const { - assert(Var.Verify() && "Invalid complex DbgVariable!"); + assert(Var.isVariable() && "Invalid complex DbgVariable!"); return Var.getNumAddrElements(); } uint64_t getAddrElement(unsigned i) const { |