commit | cc77eece74c8db09acc2af425e7e6c88a5bb30d1 | [log] [tgz] |
---|---|---|
author | Manman Ren <mren@apple.com> | Thu Sep 06 19:55:56 2012 +0000 |
committer | Manman Ren <mren@apple.com> | Thu Sep 06 19:55:56 2012 +0000 |
tree | fcdc8d3ddb7ffe93d8129485a2068c6dfeaac9fd | |
parent | c8ecb401caefc5fb97b20041544d8da5d8e2f830 [diff] [blame] |
Release build: guard dump functions with "ifndef NDEBUG" No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163344 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Utils/AddrModeMatcher.cpp b/lib/Transforms/Utils/AddrModeMatcher.cpp index d831452..1e6586b 100644 --- a/lib/Transforms/Utils/AddrModeMatcher.cpp +++ b/lib/Transforms/Utils/AddrModeMatcher.cpp
@@ -55,10 +55,12 @@ OS << ']'; } +#ifndef NDEBUG void ExtAddrMode::dump() const { print(dbgs()); dbgs() << '\n'; } +#endif /// MatchScaledValue - Try adding ScaleReg*Scale to the current addressing mode.