mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-30 04:37:20 +00:00
Silence warnings in -asserts build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148715 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c64fe651a
commit
ee705a73f6
@ -1675,6 +1675,9 @@ namespace llvm {
|
||||
bool isBinary = isa<Binary>(result);
|
||||
bool isDyld = isa<DyldELFObject<support::little, true> >(result);
|
||||
bool isFile = isa<ELFObjectFile<support::little, true> >(result);
|
||||
(void)isBinary;
|
||||
(void)isDyld;
|
||||
(void)isFile;
|
||||
assert(isBinary && isDyld && isFile &&
|
||||
"Type inquiry failed for ELF object!");
|
||||
return result;
|
||||
@ -1695,6 +1698,9 @@ namespace llvm {
|
||||
bool isBinary = isa<Binary>(result);
|
||||
bool isDyld = isa<DyldELFObject<support::little, true> >(result);
|
||||
bool isFile = isa<ELFObjectFile<support::little, true> >(result);
|
||||
(void)isBinary;
|
||||
(void)isDyld;
|
||||
(void)isFile;
|
||||
assert(isBinary && isFile && !isDyld &&
|
||||
"Type inquiry failed for ELF object!");
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user