1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Unbreak the build.

llvm-svn: 124426
This commit is contained in:
Benjamin Kramer 2011-01-27 20:30:54 +00:00
parent 675f10c258
commit 114c20e190

View File

@ -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;