[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

Nate Begeman natebegeman at mac.com
Tue Oct 26 23:01:04 PDT 2004



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.54 -> 1.55
---
Log message:

Move destructor out of line to avoid vtable emission in every file that includes the header.  Thanks to sabre.

---
Diffs of the changes:  (+1 -1)

Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.54 llvm/include/llvm/Target/MRegisterInfo.h:1.55
--- llvm/include/llvm/Target/MRegisterInfo.h:1.54	Wed Oct 27 00:44:23 2004
+++ llvm/include/llvm/Target/MRegisterInfo.h	Wed Oct 27 01:00:53 2004
@@ -124,7 +124,7 @@
   MRegisterInfo(const MRegisterDesc *D, unsigned NR,
                 regclass_iterator RegClassBegin, regclass_iterator RegClassEnd,
 		int CallFrameSetupOpcode = -1, int CallFrameDestroyOpcode = -1);
-  virtual ~MRegisterInfo() {}
+  virtual ~MRegisterInfo();
 public:
 
   enum {                        // Define some target independent constants






More information about the llvm-commits mailing list