Code cleanup associated with jump tables, thanks to Chris for noticing
these.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27950 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp
index da89ea1..6d66839 100644
--- a/lib/CodeGen/MachineFunction.cpp
+++ b/lib/CodeGen/MachineFunction.cpp
@@ -366,6 +366,14 @@
}
}
+unsigned MachineJumpTableInfo::getEntrySize() const {
+ return TD.getPointerSize();
+}
+
+unsigned MachineJumpTableInfo::getAlignment() const {
+ return TD.getPointerAlignment();
+}
+
void MachineJumpTableInfo::dump() const { print(std::cerr); }