mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user