[llvm-commits] CVS: llvm/lib/Target/MRegisterInfo.cpp

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



Changes in directory llvm/lib/Target:

MRegisterInfo.cpp updated: 1.7 -> 1.8
---
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:  (+2 -0)

Index: llvm/lib/Target/MRegisterInfo.cpp
diff -u llvm/lib/Target/MRegisterInfo.cpp:1.7 llvm/lib/Target/MRegisterInfo.cpp:1.8
--- llvm/lib/Target/MRegisterInfo.cpp:1.7	Wed Oct 27 00:44:23 2004
+++ llvm/lib/Target/MRegisterInfo.cpp	Wed Oct 27 01:00:53 2004
@@ -26,6 +26,8 @@
   CallFrameDestroyOpcode = CFDO;
 }
 
+MRegisterInfo::~MRegisterInfo() {}
+
 std::vector<bool> MRegisterInfo::getAllocatableSet(MachineFunction &MF) const {
   std::vector<bool> Allocatable(NumRegs);
   for (MRegisterInfo::regclass_iterator I = regclass_begin(),






More information about the llvm-commits mailing list