summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/User.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/User.h')
-rw-r--r--llvm/include/llvm/User.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/User.h b/llvm/include/llvm/User.h
index 62bc9f03461..d3f4f217b92 100644
--- a/llvm/include/llvm/User.h
+++ b/llvm/include/llvm/User.h
@@ -34,6 +34,7 @@ class User : public Value {
void *operator new(size_t); // Do not implement
template <unsigned>
friend struct HungoffOperandTraits;
+ virtual void anchor();
protected:
/// OperandList - This is a pointer to the array of Uses for this User.
/// For nodes of fixed arity (e.g. a binary operator) this array will live
OpenPOWER on IntegriCloud