diff options
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index da89ea1821..6d66839e2f 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -366,6 +366,14 @@ void MachineJumpTableInfo::print(std::ostream &OS) const { } } +unsigned MachineJumpTableInfo::getEntrySize() const { + return TD.getPointerSize(); +} + +unsigned MachineJumpTableInfo::getAlignment() const { + return TD.getPointerAlignment(); +} + void MachineJumpTableInfo::dump() const { print(std::cerr); } |