diff options
author | Luke Drummond <luke.drummond@codeplay.com> | 2016-08-03 16:29:45 +0000 |
---|---|---|
committer | Luke Drummond <luke.drummond@codeplay.com> | 2016-08-03 16:29:45 +0000 |
commit | 9d83de42f02b95f8ffa919e797676200fbb45f0f (patch) | |
tree | 443cf237c998095ba75715ff59f91fbd68c9fbe0 /llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp | |
parent | f5830974342a2c9cf2922415e9ddffee439874c4 (diff) | |
download | bcm5719-llvm-9d83de42f02b95f8ffa919e797676200fbb45f0f.tar.gz bcm5719-llvm-9d83de42f02b95f8ffa919e797676200fbb45f0f.zip |
Fix an unused variable warning in release builds.
``num_params`` was unused in RenderScript ABI fixup pass ``cloneToStructRetFnTy``
and was only used in an `assert()` that the number of function parameters for the cloned
function was correct.
Now we actually use this variable, rather than recomputing it, and avoid the unused variable
warning when building without asserts enabled.
Subscribers: lldb-commits
llvm-svn: 277608
Diffstat (limited to 'llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp')
0 files changed, 0 insertions, 0 deletions