summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit2a666a0b294669e2c52158b6e254292f09fd12f0 (patch)
tree2d797d94300900a3b93e2539f05c0b64f0baf8d3 /llvm/lib/Bytecode/Writer/SlotCalculator.cpp
parent12002936aabd2b9c7928554fb1d5e987cf8216bc (diff)
downloadbcm5719-llvm-2a666a0b294669e2c52158b6e254292f09fd12f0.tar.gz
bcm5719-llvm-2a666a0b294669e2c52158b6e254292f09fd12f0.zip
Remove dead ctor
llvm-svn: 34121
Diffstat (limited to 'llvm/lib/Bytecode/Writer/SlotCalculator.cpp')
-rw-r--r--llvm/lib/Bytecode/Writer/SlotCalculator.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp b/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
index 0f8d4d559c0..fc051441506 100644
--- a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/llvm/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.
//
OpenPOWER on IntegriCloud