summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-10-31 17:08:11 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-10-31 17:08:11 +0000
commit9491a5cd4d2d315a98d113b373b0fc11cbd350a9 (patch)
tree86460e9b05753f532fbdfc6baf7f67b6bb93845c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent626507fab33b50ef542c75078de1182791ceca9a (diff)
Fix unused-function warning differently from r220853
Rather than executing this code only needed for an assertion even in a non-asserts build, just roll the function into the assert. The assertion text literally describes the two cases so it doesn't seem like this benefits much from having a separate function (& have to hassle about ifndef NDEBUG it out, etc) llvm-svn: 220970
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions