mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
Fix gcc warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91715 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1cefd7cd07
commit
3eed182e2d
@ -173,12 +173,13 @@ bool MDNode::getLocalFunction(Function *LocalFunction,
|
||||
// different function.
|
||||
return false;
|
||||
|
||||
if (LocalFunctionTemp)
|
||||
if (LocalFunctionTemp) {
|
||||
if (!LocalFunction)
|
||||
LocalFunction = LocalFunctionTemp;
|
||||
else if (LocalFunction != LocalFunctionTemp)
|
||||
// This MDNode contains operands that are local to different functions.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user