[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp X86AsmPrinter.cpp
Evan Cheng
evan.cheng at apple.com
Thu Nov 30 23:38:37 PST 2006
Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.75 -> 1.76
X86AsmPrinter.cpp updated: 1.216 -> 1.217
---
Log message:
Minor code clean up.
---
Diffs of the changes: (+2 -4)
X86ATTAsmPrinter.cpp | 3 +--
X86AsmPrinter.cpp | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.75 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.76
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.75 Thu Nov 30 18:25:12 2006
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp Fri Dec 1 01:38:23 2006
@@ -256,9 +256,8 @@
O << Name;
}
- if (GV->hasExternalWeakLinkage()) {
+ if (GV->hasExternalWeakLinkage())
ExtWeakSymbols.insert(Name);
- }
int Offset = MO.getOffset();
if (Offset > 0)
Index: llvm/lib/Target/X86/X86AsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86AsmPrinter.cpp:1.216 llvm/lib/Target/X86/X86AsmPrinter.cpp:1.217
--- llvm/lib/Target/X86/X86AsmPrinter.cpp:1.216 Fri Dec 1 01:17:00 2006
+++ llvm/lib/Target/X86/X86AsmPrinter.cpp Fri Dec 1 01:38:23 2006
@@ -283,10 +283,9 @@
O << "\t.ascii \" -export:" << *i << "\"\n";
}
- if (Subtarget->isTargetCygwin()) {
+ if (!Subtarget->isTargetCygwin()) {
// There is no external weak linkage on Mingw32 platform.
// Defaulting to external
- } else {
if (ExtWeakSymbols.begin() != ExtWeakSymbols.end())
SwitchToDataSection("");
More information about the llvm-commits
mailing list