From: Chris Lattner Date: Mon, 23 Jul 2001 03:57:05 +0000 (+0000) Subject: Nonpolymorphic class, doesn't need a virtual dtor! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d8fa8e2aa1fe30747bf2860cc9f7f226eda42666;p=oota-llvm.git Nonpolymorphic class, doesn't need a virtual dtor! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 3a28a1ee0b1..72f299f0150 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -187,7 +187,7 @@ public: /*ctor*/ MachineInstr (MachineOpCode _opCode, OpCodeMask _opCodeMask = 0x0); - /*dtor*/ virtual ~MachineInstr (); + /*dtor*/ ~MachineInstr (); const MachineOpCode getOpCode () const;