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. /// 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); EmitAlignment(2);
printSuffixedName(GV, "$non_lazy_ptr", Prefix); printSuffixedName(GV, "$non_lazy_ptr");
if (Prefix) O << Prefix;
O << ":\n" << TAI->getData32bitsDirective() << GV << '\n'; O << ":\n" << TAI->getData32bitsDirective() << GV << '\n';
} }

View File

@ -189,7 +189,7 @@ class VISIBILITY_HIDDEN X86ATTAsmPrinter : public AsmPrinter {
void printModuleLevelGV(const GlobalVariable* GVar); void printModuleLevelGV(const GlobalVariable* GVar);
void printGVStub(const char *GV, const char *Prefix = NULL); 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); bool runOnMachineFunction(MachineFunction &F);