You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
@ -1,30 +0,0 @@
|
||||
//===-- MCTargetAsmParser.cpp - Target Assembly Parser --------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
|
||||
#include "llvm/MC/MCContext.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
MCTargetAsmParser::MCTargetAsmParser(MCTargetOptions const &MCOptions,
|
||||
const MCSubtargetInfo &STI,
|
||||
const MCInstrInfo &MII)
|
||||
: MCOptions(MCOptions), STI(&STI), MII(MII) {}
|
||||
|
||||
MCTargetAsmParser::~MCTargetAsmParser() = default;
|
||||
|
||||
MCSubtargetInfo &MCTargetAsmParser::copySTI() {
|
||||
MCSubtargetInfo &STICopy = getContext().getSubtargetCopy(getSTI());
|
||||
STI = &STICopy;
|
||||
return STICopy;
|
||||
}
|
||||
|
||||
const MCSubtargetInfo &MCTargetAsmParser::getSTI() const {
|
||||
return *STI;
|
||||
}
|
Reference in New Issue
Block a user