aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineJumpTableInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/MachineJumpTableInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineJumpTableInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineJumpTableInfo.h b/include/llvm/CodeGen/MachineJumpTableInfo.h
index 2cb268ad53..c0f4af34c2 100644
--- a/include/llvm/CodeGen/MachineJumpTableInfo.h
+++ b/include/llvm/CodeGen/MachineJumpTableInfo.h
@@ -37,10 +37,10 @@ struct MachineJumpTableEntry {
};
class MachineJumpTableInfo {
- const TargetData &TD;
+ const TargetData *TD;
std::vector<MachineJumpTableEntry> JumpTables;
public:
- MachineJumpTableInfo(const TargetData &td) : TD(td) {}
+ MachineJumpTableInfo(const TargetData *td) : TD(td) {}
/// getJumpTableIndex - Create a new jump table or return an existing one.
///