mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Silence three more variable set but not used warnings, NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc21e4b4a8
commit
3ab51efa6d
@ -3091,6 +3091,7 @@ std::error_code BitcodeReader::ParseFunctionBody(Function *F) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
I = GetElementPtrInst::Create(BasePtr, GEPIdx);
|
I = GetElementPtrInst::Create(BasePtr, GEPIdx);
|
||||||
|
(void)Ty;
|
||||||
assert(!Ty || Ty == cast<GetElementPtrInst>(I)->getSourceElementType());
|
assert(!Ty || Ty == cast<GetElementPtrInst>(I)->getSourceElementType());
|
||||||
InstructionList.push_back(I);
|
InstructionList.push_back(I);
|
||||||
if (InBounds)
|
if (InBounds)
|
||||||
@ -3600,6 +3601,7 @@ std::error_code BitcodeReader::ParseFunctionBody(Function *F) {
|
|||||||
return EC;
|
return EC;
|
||||||
I = new LoadInst(Op, "", Record[OpNum+1], Align);
|
I = new LoadInst(Op, "", Record[OpNum+1], Align);
|
||||||
|
|
||||||
|
(void)Ty;
|
||||||
assert((!Ty || Ty == I->getType()) &&
|
assert((!Ty || Ty == I->getType()) &&
|
||||||
"Explicit type doesn't match pointee type of the first operand");
|
"Explicit type doesn't match pointee type of the first operand");
|
||||||
|
|
||||||
@ -3631,6 +3633,7 @@ std::error_code BitcodeReader::ParseFunctionBody(Function *F) {
|
|||||||
return EC;
|
return EC;
|
||||||
I = new LoadInst(Op, "", Record[OpNum+1], Align, Ordering, SynchScope);
|
I = new LoadInst(Op, "", Record[OpNum+1], Align, Ordering, SynchScope);
|
||||||
|
|
||||||
|
(void)Ty;
|
||||||
assert((!Ty || Ty == I->getType()) &&
|
assert((!Ty || Ty == I->getType()) &&
|
||||||
"Explicit type doesn't match pointee type of the first operand");
|
"Explicit type doesn't match pointee type of the first operand");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user