File missing from last check in.
authorJim Laskey <jlaskey@mac.com>
Thu, 14 Dec 2006 21:03:17 +0000 (21:03 +0000)
committerJim Laskey <jlaskey@mac.com>
Thu, 14 Dec 2006 21:03:17 +0000 (21:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32586 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineJumpTableInfo.h

index 3da85ae21e89f7f9e0abb04803dc2cbce61c4429..8064fa431c085c1be4effaa3a2edc87419e8fb2f 100644 (file)
@@ -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