Stop a gcc warning about casting away const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172465
91177308-0d34-0410-b5e6-
96231b3b80d8
const UserRef *ref = reinterpret_cast<const UserRef*>(End);
return ref->getInt()
? ref->getPointer()
const UserRef *ref = reinterpret_cast<const UserRef*>(End);
return ref->getInt()
? ref->getPointer()
+ : reinterpret_cast<User*>(const_cast<Use*>(End));
}
} // End llvm namespace
}
} // End llvm namespace