You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.182
Former-commit-id: f9d55cf82631bfd710c387739687e5845296aea1
This commit is contained in:
parent
8625704ad8
commit
b716dc8d12
@ -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