File missing from last check in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-12-14 21:03:17 +00:00
parent e36087c617
commit a80b7833e3

View File

@@ -38,12 +38,12 @@ struct MachineJumpTableEntry {
}; };
class MachineJumpTableInfo { class MachineJumpTableInfo {
const TargetData *TD;
unsigned EntrySize; unsigned EntrySize;
unsigned Alignment;
std::vector<MachineJumpTableEntry> JumpTables; std::vector<MachineJumpTableEntry> JumpTables;
public: public:
MachineJumpTableInfo(const TargetData *td, unsigned ES) MachineJumpTableInfo(unsigned Size, unsigned Align)
: TD(td), EntrySize(ES) {} : EntrySize(Size), Alignment(Align) {}
/// getJumpTableIndex - Create a new jump table or return an existing one. /// getJumpTableIndex - Create a new jump table or return an existing one.
/// ///
@@ -84,7 +84,7 @@ public:
unsigned getEntrySize() const { return EntrySize; } unsigned getEntrySize() const { return EntrySize; }
/// getAlignment - returns the target's preferred alignment for jump tables /// getAlignment - returns the target's preferred alignment for jump tables
unsigned getAlignment() const; unsigned getAlignment() const { return Alignment; }
/// print - Used by the MachineFunction printer to print information about /// print - Used by the MachineFunction printer to print information about
/// jump tables. Implemented in MachineFunction.cpp /// jump tables. Implemented in MachineFunction.cpp