mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
Fix a compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cfab3da46e
commit
ec5ec88d15
@ -264,7 +264,7 @@ BasicAliasAnalysis::getModRefInfo(CallSite CS, Value *P, unsigned Size) {
|
|||||||
CI != CE; ++CI)
|
CI != CE; ++CI)
|
||||||
if (isa<PointerType>((*CI)->getType()) &&
|
if (isa<PointerType>((*CI)->getType()) &&
|
||||||
( getUnderlyingObject(*CI) == P ||
|
( getUnderlyingObject(*CI) == P ||
|
||||||
alias(cast<Value>(CI), ~0ULL, P, ~0ULL) != NoAlias) )
|
alias(cast<Value>(CI), ~0UL, P, ~0UL) != NoAlias) )
|
||||||
passedAsArg = true;
|
passedAsArg = true;
|
||||||
|
|
||||||
if (!passedAsArg)
|
if (!passedAsArg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user