mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Try to make AsmPrinter vtable compatible with previous shared library.
r232083 added AsmPrinter::emitInlineAsmStart() before AsmPrinter::emitInlineAsmEnd(), changing the vtable in an incompatible way. This patch swaps the declaration order so that the new vtable entry is at the end of the vtable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@232162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5974678c8d
commit
0cf4dc1701
@ -461,10 +461,6 @@ public:
|
|||||||
unsigned AsmVariant, const char *ExtraCode,
|
unsigned AsmVariant, const char *ExtraCode,
|
||||||
raw_ostream &OS);
|
raw_ostream &OS);
|
||||||
|
|
||||||
/// Let the target do anything it needs to do before emitting inlineasm.
|
|
||||||
/// \p StartInfo - the subtarget info before parsing inline asm
|
|
||||||
virtual void emitInlineAsmStart(const MCSubtargetInfo &StartInfo) const;
|
|
||||||
|
|
||||||
/// Let the target do anything it needs to do after emitting inlineasm.
|
/// Let the target do anything it needs to do after emitting inlineasm.
|
||||||
/// This callback can be used restore the original mode in case the
|
/// This callback can be used restore the original mode in case the
|
||||||
/// inlineasm contains directives to switch modes.
|
/// inlineasm contains directives to switch modes.
|
||||||
@ -474,6 +470,10 @@ public:
|
|||||||
virtual void emitInlineAsmEnd(const MCSubtargetInfo &StartInfo,
|
virtual void emitInlineAsmEnd(const MCSubtargetInfo &StartInfo,
|
||||||
const MCSubtargetInfo *EndInfo) const;
|
const MCSubtargetInfo *EndInfo) const;
|
||||||
|
|
||||||
|
/// Let the target do anything it needs to do before emitting inlineasm.
|
||||||
|
/// \p StartInfo - the subtarget info before parsing inline asm
|
||||||
|
virtual void emitInlineAsmStart(const MCSubtargetInfo &StartInfo) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// Private state for PrintSpecial()
|
/// Private state for PrintSpecial()
|
||||||
// Assign a unique ID to this machine instruction.
|
// Assign a unique ID to this machine instruction.
|
||||||
|
@ -60,11 +60,11 @@ private:
|
|||||||
std::map<const char *, const llvm::Mips16HardFloatInfo::FuncSignature *>
|
std::map<const char *, const llvm::Mips16HardFloatInfo::FuncSignature *>
|
||||||
StubsNeeded;
|
StubsNeeded;
|
||||||
|
|
||||||
void emitInlineAsmStart(const MCSubtargetInfo &StartInfo) const override;
|
|
||||||
|
|
||||||
void emitInlineAsmEnd(const MCSubtargetInfo &StartInfo,
|
void emitInlineAsmEnd(const MCSubtargetInfo &StartInfo,
|
||||||
const MCSubtargetInfo *EndInfo) const override;
|
const MCSubtargetInfo *EndInfo) const override;
|
||||||
|
|
||||||
|
void emitInlineAsmStart(const MCSubtargetInfo &StartInfo) const override;
|
||||||
|
|
||||||
void EmitJal(MCSymbol *Symbol);
|
void EmitJal(MCSymbol *Symbol);
|
||||||
|
|
||||||
void EmitInstrReg(unsigned Opcode, unsigned Reg);
|
void EmitInstrReg(unsigned Opcode, unsigned Reg);
|
||||||
|
Loading…
Reference in New Issue
Block a user