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 | d03d2b243a1c3b32a19ed4f387ac9d66febf8c2c (patch) | |
tree | 0c00f42b760f900d7964c150b348e74b078a8671 /lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | dc2d418dd29ad9396aea06f2b72c9a7d29b30940 (diff) | |
download | llvm-d03d2b243a1c3b32a19ed4f387ac9d66febf8c2c.tar.gz llvm-d03d2b243a1c3b32a19ed4f387ac9d66febf8c2c.tar.bz2 llvm-d03d2b243a1c3b32a19ed4f387ac9d66febf8c2c.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 2d2467a0d2..36bd374236 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/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 { |