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
This commit is contained in:
Nate Begeman
2006-04-22 23:52:35 +00:00
parent 05f9466cf0
commit 3700a4d3a2
3 changed files with 19 additions and 9 deletions

View File

@ -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); }