mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-23 05:52:40 +00:00
Move MCSymbolizer's constructor into header. It's trivial - there's no need for
it to be out-of-line. llvm-svn: 204892
This commit is contained in:
parent
10cec1c28e
commit
6ff3ce2a59
@ -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…
x
Reference in New Issue
Block a user