aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-02 22:07:37 +0000
committerChris Lattner <sabre@nondot.org>2003-06-02 22:07:37 +0000
commit9452b0797a80001920576d7e2ef4af05242cba69 (patch)
tree53850f4155957a77632a6b3624960e41b0f1e8fb /include/llvm/CodeGen/MachineInstr.h
parent747a04455072a1dac9e333f1dd10abc16687d5ff (diff)
Remove NonCopyable base class to clean up doxygen output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 82fa75f660..d93209d287 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -11,7 +11,6 @@
#include "llvm/Target/MRegisterInfo.h"
#include "Support/Annotation.h"
-#include "Support/NonCopyable.h"
#include "Support/iterator"
#include <set>
class Value;
@@ -341,8 +340,7 @@ private:
// a CALL (if any), and return value of a RETURN.
//---------------------------------------------------------------------------
-class MachineInstr: public NonCopyable { // Disable copy operations
-
+class MachineInstr {
MachineOpCode opCode; // the opcode
unsigned opCodeFlags; // flags modifying instrn behavior
std::vector<MachineOperand> operands; // the operands
@@ -355,6 +353,8 @@ class MachineInstr: public NonCopyable { // Disable copy operations
// OperandComplete - Return true if it's illegal to add a new operand
bool OperandsComplete() const;
+ MachineInstr(const MachineInstr &); // DO NOT IMPLEMENT
+ void operator=(const MachineInstr&); // DO NOT IMPLEMENT
public:
MachineInstr(MachineOpCode Opcode, unsigned numOperands);