diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-11 04:29:42 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-11 04:29:42 +0000 |
| commit | 82c3d8f81ab20dc7571f29ffc46a5bb1b7ed8323 (patch) | |
| tree | 34b670ad91e6ea572542ba079d0862ee4523e82a /lib/CodeGen/AsmPrinter.cpp | |
| parent | 78feeb04603ded015be718538ec53fd09b84dede (diff) | |
Jimptables working again on alpha.
As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
| -rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 33b6b979d0..9f5447fa5f 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -204,7 +204,7 @@ void AsmPrinter::EmitJumpTableInfo(MachineJumpTableInfo *MJTI, TargetLowering *LoweringInfo = TM.getTargetLowering(); if (LoweringInfo && LoweringInfo->usesGlobalOffsetTable()) { SwitchToDataSection(TAI->getJumpTableDataSection(), 0); - if (TD->getPointerSize() == 8) + if (TD->getPointerSize() == 8 && !JTEntryDirective) JTEntryDirective = TAI->getData64bitsDirective(); } else { // In PIC mode, we need to emit the jump table to the same section as the |
