remove dead argument

llvm-svn: 74089
This commit is contained in:
Chris Lattner 2009-06-24 18:00:11 +00:00
parent fd682802e3
commit 63aab8a84c
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);