mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
Unbreak the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c9d69489eb
commit
9c1858cf4a
@ -460,7 +460,7 @@ bool FunctionComparator::Enumerate(const Value *V1, const Value *V2) {
|
||||
if (V1 == F2 && V2 == F1)
|
||||
return true;
|
||||
|
||||
if (Constant *C1 = dyn_cast<Constant>(V1)) {
|
||||
if (const Constant *C1 = dyn_cast<Constant>(V1)) {
|
||||
if (V1 == V2) return true;
|
||||
const Constant *C2 = dyn_cast<Constant>(V2);
|
||||
if (!C2) return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user