/// 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.
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);