summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Instructions.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-12-01 08:00:17 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-12-01 08:00:17 +0000
commit3a15e14520adfdddbf6657f878fe4c49fba41956 (patch)
tree8d3d5117235d620681889eb771cbebbc68cfc259 /llvm/lib/VMCore/Instructions.cpp
parentdc6fb77d35c176738776650b85da9ea982c35282 (diff)
downloadbcm5719-llvm-3a15e14520adfdddbf6657f878fe4c49fba41956.tar.gz
bcm5719-llvm-3a15e14520adfdddbf6657f878fe4c49fba41956.zip
Add some missing anchors.
llvm-svn: 145578
Diffstat (limited to 'llvm/lib/VMCore/Instructions.cpp')
-rw-r--r--llvm/lib/VMCore/Instructions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp
index c8dcdc8ac39..6fa904e4e44 100644
--- a/llvm/lib/VMCore/Instructions.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud