remove dead argument

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74089 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-06-24 18:00:11 +00:00
parent 31530617dd
commit 7af485e109
2 changed files with 3 additions and 4 deletions

View File

@ -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';
}

View File

@ -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);