[llvm-commits] [llvm] r74089 - in /llvm/trunk/lib/Target/X86/AsmPrinter: X86ATTAsmPrinter.cpp X86ATTAsmPrinter.h
Chris Lattner
sabre at nondot.org
Wed Jun 24 11:00:11 PDT 2009
Author: lattner
Date: Wed Jun 24 13:00:11 2009
New Revision: 74089
URL: http://llvm.org/viewvc/llvm-project?rev=74089&view=rev
Log:
remove dead argument
Modified:
llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp?rev=74089&r1=74088&r2=74089&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp Wed Jun 24 13:00:11 2009
@@ -1089,10 +1089,9 @@
/// printHiddenGVStub - Print stub for a hidden global value.
///
-void X86ATTAsmPrinter::printHiddenGVStub(const char *GV, const char *Prefix) {
+void X86ATTAsmPrinter::printHiddenGVStub(const char *GV) {
EmitAlignment(2);
- printSuffixedName(GV, "$non_lazy_ptr", Prefix);
- if (Prefix) O << Prefix;
+ printSuffixedName(GV, "$non_lazy_ptr");
O << ":\n" << TAI->getData32bitsDirective() << GV << '\n';
}
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h?rev=74089&r1=74088&r2=74089&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h Wed Jun 24 13:00:11 2009
@@ -189,7 +189,7 @@
void printModuleLevelGV(const GlobalVariable* GVar);
void printGVStub(const char *GV, const char *Prefix = NULL);
- void printHiddenGVStub(const char *GV, const char *Prefix = NULL);
+ void printHiddenGVStub(const char *GV);
bool runOnMachineFunction(MachineFunction &F);
More information about the llvm-commits
mailing list