mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Silence -Wunused-variable in release builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac7d295542
commit
dc770fcb2c
@ -1720,6 +1720,7 @@ Constant *ConstantExpr::getInsertValue(Constant *Agg, Constant *Val,
|
||||
"Tried to create insertelement operation on non-first-class type!");
|
||||
|
||||
const Type *ReqTy = Agg->getType();
|
||||
(void)ReqTy;
|
||||
#ifndef NDEBUG
|
||||
const Type *ValTy =
|
||||
ExtractValueInst::getIndexedType(Agg->getType(), Idxs, Idxs+NumIdx);
|
||||
@ -1745,6 +1746,7 @@ Constant *ConstantExpr::getExtractValue(Constant *Agg,
|
||||
|
||||
const Type *ReqTy =
|
||||
ExtractValueInst::getIndexedType(Agg->getType(), Idxs, Idxs+NumIdx);
|
||||
(void)ReqTy;
|
||||
assert(ReqTy && "extractvalue indices invalid!");
|
||||
|
||||
assert(Agg->getType()->isFirstClassType() &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user