MachineInstr now inherits from Annotable.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 19 May 2002 15:39:59 +0000 (15:39 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 19 May 2002 15:39:59 +0000 (15:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2647 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index dacd4bd1f21c6930ee051af757ade03a41d95e89..5ae9e4b0b9105e3aa3642dc81812af22109d702b 100644 (file)
@@ -10,6 +10,7 @@
 #define LLVM_CODEGEN_MACHINEINSTR_H
 
 #include "llvm/Target/MachineInstrInfo.h"
+#include "llvm/Annotation.h"
 #include <iterator>
 class Instruction;
 
@@ -232,7 +233,8 @@ MachineOperand::InitializeReg(int _regNum, bool isCCReg)
 //      a CALL (if any), and return value of a RETURN.
 //---------------------------------------------------------------------------
 
-class MachineInstr : public NonCopyable {
+class MachineInstr :  public Annotable,         // Values are annotable
+                      public NonCopyableV {     // Disable copy operations
   MachineOpCode         opCode;
   OpCodeMask            opCodeMask;    // extra bits for variants of an opcode
   std::vector<MachineOperand> operands;