[llvm-commits] CVS: llvm/lib/Bytecode/Writer/SlotCalculator.cpp SlotCalculator.h

Chris Lattner sabre at nondot.org
Fri Feb 9 20:38:50 PST 2007



Changes in directory llvm/lib/Bytecode/Writer:

SlotCalculator.cpp updated: 1.92 -> 1.93
SlotCalculator.h updated: 1.35 -> 1.36
---
Log message:

Remove dead ctor


---
Diffs of the changes:  (+0 -13)

 SlotCalculator.cpp |   11 -----------
 SlotCalculator.h   |    2 --
 2 files changed, 13 deletions(-)


Index: llvm/lib/Bytecode/Writer/SlotCalculator.cpp
diff -u llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.92 llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.93
--- llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.92	Fri Feb  9 22:36:10 2007
+++ llvm/lib/Bytecode/Writer/SlotCalculator.cpp	Fri Feb  9 22:38:34 2007
@@ -73,17 +73,6 @@
   processModule();
 }
 
-SlotCalculator::SlotCalculator(const Function *M ) {
-  TheModule = M ? M->getParent() : 0;
-
-  insertPrimitives();
-
-  if (TheModule == 0) return;   // Empty table...
-
-  processModule();              // Process module level stuff
-  incorporateFunction(M);       // Start out in incorporated state
-}
-
 // processModule - Process all of the module level function declarations and
 // types that are available.
 //


Index: llvm/lib/Bytecode/Writer/SlotCalculator.h
diff -u llvm/lib/Bytecode/Writer/SlotCalculator.h:1.35 llvm/lib/Bytecode/Writer/SlotCalculator.h:1.36
--- llvm/lib/Bytecode/Writer/SlotCalculator.h:1.35	Fri Feb  9 22:36:10 2007
+++ llvm/lib/Bytecode/Writer/SlotCalculator.h	Fri Feb  9 22:38:34 2007
@@ -61,8 +61,6 @@
   void operator=(const SlotCalculator &);  // DO NOT IMPLEMENT
 public:
   SlotCalculator(const Module *M);
-  // Start out in incorp state
-  SlotCalculator(const Function *F);
 
   /// getSlot - Return the slot number of the specified value in it's type
   /// plane.  This returns < 0 on error!






More information about the llvm-commits mailing list