remove now-dead argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-06-24 18:17:56 +00:00
parent 381d4fef6f
commit 9dd71749bc
2 changed files with 4 additions and 6 deletions

View File

@ -1080,11 +1080,9 @@ void X86ATTAsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) {
/// printGVStub - Print stub for a global value.
///
void X86ATTAsmPrinter::printGVStub(const char *GV, const char *Prefix) {
printSuffixedName(GV, "$non_lazy_ptr", Prefix);
O << ":\n\t.indirect_symbol ";
if (Prefix) O << Prefix;
O << GV << "\n\t.long\t0\n";
void X86ATTAsmPrinter::printGVStub(const char *GV) {
printSuffixedName(GV, "$non_lazy_ptr");
O << ":\n\t.indirect_symbol " << GV << "\n\t.long\t0\n";
}
/// printHiddenGVStub - Print stub for a hidden global value.

View File

@ -188,7 +188,7 @@ class VISIBILITY_HIDDEN X86ATTAsmPrinter : public AsmPrinter {
void printPICLabel(const MachineInstr *MI, unsigned Op);
void printModuleLevelGV(const GlobalVariable* GVar);
void printGVStub(const char *GV, const char *Prefix = NULL);
void printGVStub(const char *GV);
void printHiddenGVStub(const char *GV);
bool runOnMachineFunction(MachineFunction &F);