summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Instruction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Instruction.h b/llvm/include/llvm/Instruction.h
index 9de8747361e..035687e4b8f 100644
--- a/llvm/include/llvm/Instruction.h
+++ b/llvm/include/llvm/Instruction.h
@@ -16,6 +16,7 @@
#define LLVM_INSTRUCTION_H
#include "llvm/User.h"
+#include "Support/Annotation.h"
namespace llvm {
@@ -25,7 +26,7 @@ template<typename SC> struct ilist_traits;
template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
typename SubClass> class SymbolTableListTraits;
-class Instruction : public User {
+class Instruction : public User, public Annotable {
BasicBlock *Parent;
Instruction *Prev, *Next; // Next and Prev links for our intrusive linked list
OpenPOWER on IntegriCloud