diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-12-14 21:03:17 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-12-14 21:03:17 +0000 |
commit | a80b7833e36366bc85ed4ee08bee4c874c054d43 (patch) | |
tree | 042a012f44190b93f08a5e50578df08913cd3aa5 /include/llvm/CodeGen/MachineJumpTableInfo.h | |
parent | e36087c617af1f033a1d9d15d2cc29e47c99c8da (diff) |
File missing from last check in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineJumpTableInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineJumpTableInfo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineJumpTableInfo.h b/include/llvm/CodeGen/MachineJumpTableInfo.h index 3da85ae21e..8064fa431c 100644 --- a/include/llvm/CodeGen/MachineJumpTableInfo.h +++ b/include/llvm/CodeGen/MachineJumpTableInfo.h @@ -38,12 +38,12 @@ struct MachineJumpTableEntry { }; class MachineJumpTableInfo { - const TargetData *TD; unsigned EntrySize; + unsigned Alignment; std::vector<MachineJumpTableEntry> JumpTables; public: - MachineJumpTableInfo(const TargetData *td, unsigned ES) - : TD(td), EntrySize(ES) {} + MachineJumpTableInfo(unsigned Size, unsigned Align) + : EntrySize(Size), Alignment(Align) {} /// getJumpTableIndex - Create a new jump table or return an existing one. /// @@ -84,7 +84,7 @@ public: unsigned getEntrySize() const { return EntrySize; } /// 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 /// jump tables. Implemented in MachineFunction.cpp |