From 90c8e997a76e945510c4299acb0929884c2c6655 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Thu, 14 Dec 2006 21:03:17 +0000 Subject: [PATCH] File missing from last check in. llvm-svn: 32586 --- llvm/include/llvm/CodeGen/MachineJumpTableInfo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h b/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h index 3da85ae21e89..8064fa431c08 100644 --- a/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h +++ b/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h @@ -38,12 +38,12 @@ struct MachineJumpTableEntry { }; class MachineJumpTableInfo { - const TargetData *TD; unsigned EntrySize; + unsigned Alignment; std::vector 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