aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/SlotCalculator.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-10 04:38:34 +0000
committerChris Lattner <sabre@nondot.org>2007-02-10 04:38:34 +0000
commit4ef92d8d645c6b04bcade46908243a5a0cd7f724 (patch)
tree4e48145d3622bd4131d94b6069a08a2d1791d6da /lib/Bytecode/Writer/SlotCalculator.cpp
parent7f481e5224badcdb3740bb419df225d7ce301452 (diff)
Remove dead ctor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.cpp')
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp
index 0f8d4d559c..fc05144150 100644
--- a/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/lib/Bytecode/Writer/SlotCalculator.cpp
@@ -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.
//