mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Move MCSymbolizer's constructor into header. It's trivial - there's no need for
it to be out-of-line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204892 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7fd03c55f3
commit
7f8e6b9a5d
@ -46,7 +46,9 @@ protected:
|
||||
|
||||
public:
|
||||
/// \brief Construct an MCSymbolizer, taking ownership of \p RelInfo.
|
||||
MCSymbolizer(MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo);
|
||||
MCSymbolizer(MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo)
|
||||
: Ctx(Ctx), RelInfo(std::move(RelInfo)) {}
|
||||
|
||||
virtual ~MCSymbolizer();
|
||||
|
||||
/// \brief Try to add a symbolic operand instead of \p Value to the MCInst.
|
||||
|
@ -8,13 +8,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/MC/MCSymbolizer.h"
|
||||
#include "llvm/MC/MCRelocationInfo.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
MCSymbolizer::MCSymbolizer(MCContext &Ctx,
|
||||
std::unique_ptr<MCRelocationInfo> RelInfo)
|
||||
: Ctx(Ctx), RelInfo(std::move(RelInfo)) {}
|
||||
|
||||
MCSymbolizer::~MCSymbolizer() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user