Remove dead ctor
authorChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 04:38:34 +0000 (04:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 04:38:34 +0000 (04:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34121 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Writer/SlotCalculator.cpp
lib/Bytecode/Writer/SlotCalculator.h

index 0f8d4d559c028cd49f7b249ccff4c4ed2c6543b6..fc051441506dab9508c02e1d68a6e83111fb4bea 100644 (file)
@@ -73,17 +73,6 @@ SlotCalculator::SlotCalculator(const Module *M ) {
   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 9a0aee93efc60fbc651ad726c3290ecc30bbe8ce..251f21eaa0d149664f8b28070866df8a683e5310 100644 (file)
@@ -61,8 +61,6 @@ class SlotCalculator {
   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!