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:
Duncan Sands 2008-02-19 09:28:48 +00:00
parent cfab3da46e
commit ec5ec88d15

View File

@ -264,7 +264,7 @@ BasicAliasAnalysis::getModRefInfo(CallSite CS, Value *P, unsigned Size) {
CI != CE; ++CI)
if (isa<PointerType>((*CI)->getType()) &&
( getUnderlyingObject(*CI) == P ||
alias(cast<Value>(CI), ~0ULL, P, ~0ULL) != NoAlias) )
alias(cast<Value>(CI), ~0UL, P, ~0UL) != NoAlias) )
passedAsArg = true;
if (!passedAsArg)