1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

ARM: ignore unused variable to fix -Wunused-variable builds

llvm-svn: 203765
This commit is contained in:
Saleem Abdulrasool 2014-03-13 07:15:45 +00:00
parent a9a6d219ad
commit 6b1cadf006

View File

@ -279,6 +279,7 @@ public:
} else if (MO.isExpr()) {
int64_t Value;
bool Invalid = MO.getExpr()->EvaluateAsAbsolute(Value);
(void) Invalid;
assert(!Invalid && "non-constant expression is not a valid SOImm operand");
assert((Value >= INT32_MIN && Value <= INT32_MAX) &&
"expression must be representable in 32 bits");