diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-05 03:01:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-05 03:01:21 +0000 |
commit | 1da31ee472b9615d7329c656e2cc17c419ed7c95 (patch) | |
tree | 53acb45503d1236ffe89ff984efd14a4749361b7 /lib/CodeGen/AsmPrinter.cpp | |
parent | edad2b783fe9ab20bdf0de2b3315559fb75f3a25 (diff) |
Pass the MachineFunction into EmitJumpTableInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 247cceda7d..63d5f92182 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -183,7 +183,8 @@ void AsmPrinter::EmitConstantPool(unsigned Alignment, const char *Section, /// EmitJumpTableInfo - Print assembly representations of the jump tables used /// by the current function to the current output stream. /// -void AsmPrinter::EmitJumpTableInfo(MachineJumpTableInfo *MJTI) { +void AsmPrinter::EmitJumpTableInfo(MachineJumpTableInfo *MJTI, + MachineFunction &MF) { const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables(); if (JT.empty()) return; const TargetData *TD = TM.getTargetData(); |