diff options
author | JF Bastien <jfb@google.com> | 2013-06-08 00:51:51 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2013-06-08 00:51:51 +0000 |
commit | 2c69e900644535d58292756c0a114c88ce51824c (patch) | |
tree | dfe3390205242f3997b0157f7c2305736f555c64 /lib/Target | |
parent | 7462a875d9ca4cf7ab30829152175f7448757943 (diff) | |
download | external_llvm-2c69e900644535d58292756c0a114c88ce51824c.zip external_llvm-2c69e900644535d58292756c0a114c88ce51824c.tar.gz external_llvm-2c69e900644535d58292756c0a114c88ce51824c.tar.bz2 |
Fix unused variable warning from my previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/ARM/ARMFastISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index 16383bf..62bc782 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/lib/Target/ARM/ARMFastISel.cpp @@ -2662,6 +2662,7 @@ unsigned ARMFastISel::ARMEmitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT, unsigned SrcBits = SrcVT.getSizeInBits(); unsigned DestBits = DestVT.getSizeInBits(); + (void) DestBits; assert((SrcBits < DestBits) && "can only extend to larger types"); assert((DestBits == 32 || DestBits == 16 || DestBits == 8) && "other sizes unimplemented"); |