diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-24 18:00:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-24 18:00:11 +0000 |
commit | 7af485e109391cbbf1cb95dcccc9074f262107ff (patch) | |
tree | 3aaa2f8092402fbb1851275771ef80007ce1bc5c /lib/Target | |
parent | 31530617dd206c3ac549e98508d8f98e91bf8275 (diff) | |
download | external_llvm-7af485e109391cbbf1cb95dcccc9074f262107ff.zip external_llvm-7af485e109391cbbf1cb95dcccc9074f262107ff.tar.gz external_llvm-7af485e109391cbbf1cb95dcccc9074f262107ff.tar.bz2 |
remove dead argument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | 5 | ||||
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp index dedef3d..4ce8dcd 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp @@ -1089,10 +1089,9 @@ void X86ATTAsmPrinter::printGVStub(const char *GV, const char *Prefix) { /// 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'; } diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h index 051adf7..ea9bec7 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h @@ -189,7 +189,7 @@ class VISIBILITY_HIDDEN X86ATTAsmPrinter : public AsmPrinter { 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); |