mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 12:45:47 +00:00
Fix gcc -Wparentheses warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210178 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7270890505
commit
e0e4fca46a
@ -290,7 +290,7 @@ void GlobalAlias::eraseFromParent() {
|
||||
}
|
||||
|
||||
void GlobalAlias::setAliasee(Constant *Aliasee) {
|
||||
assert(!Aliasee || Aliasee->getType() == getType() &&
|
||||
assert((!Aliasee || Aliasee->getType() == getType()) &&
|
||||
"Alias and aliasee types should match!");
|
||||
setOperand(0, Aliasee);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user