mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-08 14:22:53 +00:00
Replace the MCSubtargetInfo parameter with a Triple when creating
an MCInstPrinter. Update all callers and use where we wanted a Triple previously. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -238,13 +238,12 @@ createObjectTargetStreamer(MCStreamer &S, const MCSubtargetInfo &STI) {
|
||||
return new PPCTargetMachOStreamer(S);
|
||||
}
|
||||
|
||||
static MCInstPrinter *createPPCMCInstPrinter(unsigned SyntaxVariant,
|
||||
static MCInstPrinter *createPPCMCInstPrinter(const Triple &T,
|
||||
unsigned SyntaxVariant,
|
||||
const MCAsmInfo &MAI,
|
||||
const MCInstrInfo &MII,
|
||||
const MCRegisterInfo &MRI,
|
||||
const MCSubtargetInfo &STI) {
|
||||
bool isDarwin = Triple(STI.getTargetTriple()).isOSDarwin();
|
||||
return new PPCInstPrinter(MAI, MII, MRI, isDarwin);
|
||||
const MCRegisterInfo &MRI) {
|
||||
return new PPCInstPrinter(MAI, MII, MRI, T.isOSDarwin());
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializePowerPCTargetMC() {
|
||||
|
||||
Reference in New Issue
Block a user