llvm.org GIT mirror llvm / 0cf4dc1
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 Daniel Sanders 5 years ago
2 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
460460 unsigned AsmVariant, const char *ExtraCode,
461461 raw_ostream &OS);
462462
463 /// Let the target do anything it needs to do before emitting inlineasm.
464 /// \p StartInfo - the subtarget info before parsing inline asm
465 virtual void emitInlineAsmStart(const MCSubtargetInfo &StartInfo) const;
466
467463 /// Let the target do anything it needs to do after emitting inlineasm.
468464 /// This callback can be used restore the original mode in case the
469465 /// inlineasm contains directives to switch modes.
472468 /// or NULL if the value is unknown.
473469 virtual void emitInlineAsmEnd(const MCSubtargetInfo &StartInfo,
474470 const MCSubtargetInfo *EndInfo) const;
471
472 /// Let the target do anything it needs to do before emitting inlineasm.
473 /// \p StartInfo - the subtarget info before parsing inline asm
474 virtual void emitInlineAsmStart(const MCSubtargetInfo &StartInfo) const;
475475
476476 private:
477477 /// Private state for PrintSpecial()
5959 std::map
6060 StubsNeeded;
6161
62 void emitInlineAsmStart(const MCSubtargetInfo &StartInfo) const override;
63
6462 void emitInlineAsmEnd(const MCSubtargetInfo &StartInfo,
6563 const MCSubtargetInfo *EndInfo) const override;
64
65 void emitInlineAsmStart(const MCSubtargetInfo &StartInfo) const override;
6666
6767 void EmitJal(MCSymbol *Symbol);
6868