diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-03-31 00:10:04 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-03-31 00:10:04 +0000 |
| commit | f8019408dc0167c1227e51b3d54427db062c3e63 (patch) | |
| tree | b2d834308f5ba3a961fe791afcef46e4fe54baee /llvm/lib/Target/MSP430/MCTargetDesc | |
| parent | 430563195fda65aa5394836e73501ff1e234658b (diff) | |
| download | bcm5719-llvm-f8019408dc0167c1227e51b3d54427db062c3e63.tar.gz bcm5719-llvm-f8019408dc0167c1227e51b3d54427db062c3e63.zip | |
Replace the MCSubtargetInfo parameter with a Triple when creating
an MCInstPrinter. Update all callers and use where we wanted a Triple
previously.
llvm-svn: 233648
Diffstat (limited to 'llvm/lib/Target/MSP430/MCTargetDesc')
| -rw-r--r-- | llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp index a3e23382bf7..775c0b2806a 100644 --- a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp +++ b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp @@ -58,11 +58,11 @@ static MCCodeGenInfo *createMSP430MCCodeGenInfo(StringRef TT, Reloc::Model RM, return X; } -static MCInstPrinter *createMSP430MCInstPrinter(unsigned SyntaxVariant, +static MCInstPrinter *createMSP430MCInstPrinter(const Triple &T, + unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, - const MCRegisterInfo &MRI, - const MCSubtargetInfo &STI) { + const MCRegisterInfo &MRI) { if (SyntaxVariant == 0) return new MSP430InstPrinter(MAI, MII, MRI); return nullptr; |

