mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Silence warnings in -asserts build
llvm-svn: 148715
This commit is contained in:
parent
9698de5bf3
commit
ea859b30be
@ -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