summaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-20 23:30:32 +0000
committerDan Gohman <gohman@apple.com>2009-11-20 23:30:32 +0000
commitffb50c1d0c2d0c999082f02c746a3e6ae3030fcd (patch)
tree6452665eba2e44eb69c4f31794fab8635f763a5e /lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
parent9b9d2a5f2053a53da30f4bc42f18df77646ca3a9 (diff)
downloadexternal_llvm-ffb50c1d0c2d0c999082f02c746a3e6ae3030fcd.zip
external_llvm-ffb50c1d0c2d0c999082f02c746a3e6ae3030fcd.tar.gz
external_llvm-ffb50c1d0c2d0c999082f02c746a3e6ae3030fcd.tar.bz2
Fix a thinko that caused spurious @GOTOFFs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmPrinter/X86MCInstLower.cpp')
-rw-r--r--lib/Target/X86/AsmPrinter/X86MCInstLower.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp b/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
index 49fbd46..38c0c28 100644
--- a/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
+++ b/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
@@ -235,8 +235,8 @@ GetBlockAddressSymbol(const MachineOperand &MO) const {
const char *Suffix = "";
switch (MO.getTargetFlags()) {
default: llvm_unreachable("Unknown target flag on BA operand");
- case X86II::MO_NO_FLAG: // No flag.
- case X86II::MO_PIC_BASE_OFFSET: // Doesn't modify symbol name.
+ case X86II::MO_NO_FLAG: break; // No flag.
+ case X86II::MO_PIC_BASE_OFFSET: break; // Doesn't modify symbol name.
case X86II::MO_GOTOFF: Suffix = "@GOTOFF"; break;
}