mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user