diff options
author | David Blaikie <dblaikie@gmail.com> | 2011-12-01 08:00:17 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2011-12-01 08:00:17 +0000 |
commit | 0becc96b243da058f6d8901128b173d192db5148 (patch) | |
tree | 102944ebf9009fb62a777baf2934d3172b6c022d /lib/VMCore | |
parent | 522fb8cc01da6367c1c0fa52c1fcee7b133bfb34 (diff) | |
download | external_llvm-0becc96b243da058f6d8901128b173d192db5148.zip external_llvm-0becc96b243da058f6d8901128b173d192db5148.tar.gz external_llvm-0becc96b243da058f6d8901128b173d192db5148.tar.bz2 |
Add some missing anchors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 2 | ||||
-rw-r--r-- | lib/VMCore/User.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index c8dcdc8..6fa904e 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -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()) { diff --git a/lib/VMCore/User.cpp b/lib/VMCore/User.cpp index f01fa34..5f35ce4 100644 --- a/lib/VMCore/User.cpp +++ b/lib/VMCore/User.cpp @@ -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. // |