mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
eliminate the X86 version of GetGlobalValueSymbol, allowing
it to be non-virtual and soon disappear. llvm-svn: 98387
This commit is contained in:
parent
41dbe0a1bd
commit
33f470bec2
@ -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…
Reference in New Issue
Block a user