mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
eliminate the X86 version of GetGlobalValueSymbol, allowing
it to be non-virtual and soon disappear. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98387 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08d04f591f
commit
b6fc4a5650
@ -316,7 +316,7 @@ namespace llvm {
|
||||
|
||||
/// GetGlobalValueSymbol - Return the MCSymbol for the specified global
|
||||
/// value.
|
||||
virtual MCSymbol *GetGlobalValueSymbol(const GlobalValue *GV) const;
|
||||
MCSymbol *GetGlobalValueSymbol(const GlobalValue *GV) const;
|
||||
|
||||
/// GetSymbolWithGlobalValueBase - Return the MCSymbol for a symbol with
|
||||
/// global value name as its base, with the specified suffix, and where the
|
||||
|
@ -53,10 +53,6 @@ void X86AsmPrinter::PrintPICBaseSymbol() const {
|
||||
OutContext);
|
||||
}
|
||||
|
||||
MCSymbol *X86AsmPrinter::GetGlobalValueSymbol(const GlobalValue *GV) const {
|
||||
return Mang->getSymbol(GV);
|
||||
}
|
||||
|
||||
/// runOnMachineFunction - Emit the function body.
|
||||
///
|
||||
bool X86AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
|
@ -61,7 +61,6 @@ class VISIBILITY_HIDDEN X86AsmPrinter : public AsmPrinter {
|
||||
virtual void EmitInstruction(const MachineInstr *MI);
|
||||
|
||||
void printSymbolOperand(const MachineOperand &MO);
|
||||
virtual MCSymbol *GetGlobalValueSymbol(const GlobalValue *GV) const;
|
||||
|
||||
// These methods are used by the tablegen'erated instruction printer.
|
||||
void printOperand(const MachineInstr *MI, unsigned OpNo,
|
||||
|
Loading…
x
Reference in New Issue
Block a user