mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +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,13 +173,14 @@ bool MDNode::getLocalFunction(Function *LocalFunction,
|
|||||||
// different function.
|
// different function.
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (LocalFunctionTemp)
|
if (LocalFunctionTemp) {
|
||||||
if (!LocalFunction)
|
if (!LocalFunction)
|
||||||
LocalFunction = LocalFunctionTemp;
|
LocalFunction = LocalFunctionTemp;
|
||||||
else if (LocalFunction != LocalFunctionTemp)
|
else if (LocalFunction != LocalFunctionTemp)
|
||||||
// This MDNode contains operands that are local to different functions.
|
// This MDNode contains operands that are local to different functions.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user