aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index a1507c8d23..a90f1333a5 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -345,7 +345,6 @@ private:
// Intrusive list support
//
friend class ilist_traits<MachineInstr>;
- MachineInstr() : Opcode(0), numImplicitRefs(0) { /* used only by ilist */ }
public:
MachineInstr(short Opcode, unsigned numOperands);
@@ -363,6 +362,8 @@ public:
///
MachineInstr(MachineBasicBlock *MBB, short Opcode, unsigned numOps);
+ ~MachineInstr();
+
const MachineBasicBlock* getParent() const { return parent; }
MachineBasicBlock* getParent() { return parent; }