diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-25 20:52:54 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-25 20:52:54 +0000 |
| commit | cba386ccac87c2446579ef235d2b4dc7951c0941 (patch) | |
| tree | 6b3d38e76df098eb32c8b2080a8c1085518a2418 /lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
| parent | 18821e07a3eefad47eeb792eee46ca7f117970d5 (diff) | |
remove JumpTableDirective, it is always null.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
| -rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 292fcdb10c..39712ded4c 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -538,7 +538,8 @@ void AsmPrinter::printPICJumpTableEntry(const MachineJumpTableInfo *MJTI, // Use JumpTableDirective otherwise honor the entry size from the jump table // info. - const char *JTEntryDirective = MAI->getJumpTableDirective(isPIC); + const char *JTEntryDirective = 0; + if (isPIC) JTEntryDirective = MAI->getPICJumpTableDirective(); bool HadJTEntryDirective = JTEntryDirective != NULL; if (!HadJTEntryDirective) { JTEntryDirective = MJTI->getEntrySize() == 4 ? |
