mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +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:
@@ -1675,6 +1675,9 @@ namespace llvm {
|
|||||||
bool isBinary = isa<Binary>(result);
|
bool isBinary = isa<Binary>(result);
|
||||||
bool isDyld = isa<DyldELFObject<support::little, true> >(result);
|
bool isDyld = isa<DyldELFObject<support::little, true> >(result);
|
||||||
bool isFile = isa<ELFObjectFile<support::little, true> >(result);
|
bool isFile = isa<ELFObjectFile<support::little, true> >(result);
|
||||||
|
(void)isBinary;
|
||||||
|
(void)isDyld;
|
||||||
|
(void)isFile;
|
||||||
assert(isBinary && isDyld && isFile &&
|
assert(isBinary && isDyld && isFile &&
|
||||||
"Type inquiry failed for ELF object!");
|
"Type inquiry failed for ELF object!");
|
||||||
return result;
|
return result;
|
||||||
@@ -1695,6 +1698,9 @@ namespace llvm {
|
|||||||
bool isBinary = isa<Binary>(result);
|
bool isBinary = isa<Binary>(result);
|
||||||
bool isDyld = isa<DyldELFObject<support::little, true> >(result);
|
bool isDyld = isa<DyldELFObject<support::little, true> >(result);
|
||||||
bool isFile = isa<ELFObjectFile<support::little, true> >(result);
|
bool isFile = isa<ELFObjectFile<support::little, true> >(result);
|
||||||
|
(void)isBinary;
|
||||||
|
(void)isDyld;
|
||||||
|
(void)isFile;
|
||||||
assert(isBinary && isFile && !isDyld &&
|
assert(isBinary && isFile && !isDyld &&
|
||||||
"Type inquiry failed for ELF object!");
|
"Type inquiry failed for ELF object!");
|
||||||
return result;
|
return result;
|
||||||
|
Reference in New Issue
Block a user