Add some missing anchors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie
2011-12-01 08:00:17 +00:00
parent 522fb8cc01
commit 0becc96b24
6 changed files with 15 additions and 0 deletions

View File

@@ -2005,6 +2005,8 @@ bool BinaryOperator::isExact() const {
// CastInst Class
//===----------------------------------------------------------------------===//
void CastInst::anchor() {}
// Just determine if this cast only deals with integral->integral conversion.
bool CastInst::isIntegerCast() const {
switch (getOpcode()) {

View File

@@ -17,6 +17,8 @@ namespace llvm {
// User Class
//===----------------------------------------------------------------------===//
void User::anchor() {}
// replaceUsesOfWith - Replaces all references to the "From" definition with
// references to the "To" definition.
//