aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/SlotCalculator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.cpp')
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp
index 478216d145..847727a4e2 100644
--- a/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/lib/Bytecode/Writer/SlotCalculator.cpp
@@ -87,14 +87,6 @@ SlotCalculator::SlotCalculator(const Function *M ) {
incorporateFunction(M); // Start out in incorporated state
}
-SlotCalculator::TypePlane &SlotCalculator::getPlane(unsigned Plane) {
- // Okay we are just returning an entry out of the main Table. Make sure the
- // plane exists and return it.
- if (Plane >= Table.size())
- Table.resize(Plane+1);
- return Table[Plane];
-}
-
// processModule - Process all of the module level function declarations and
// types that are available.
//