operator agree on type.
llvm-svn: 229938
// and not have a MachineFunction to initialize the TargetInstrInfo from and
// we only need MCInstrInfo for asm parsing.
std::unique_ptr<MCTargetAsmParser> TAP(TM.getTarget().createMCAsmParser(
- *STI, *Parser, MII ? *MII : *TM.getTarget().createMCInstrInfo(),
+ *STI, *Parser, MII ? *MII : *static_cast<const MCInstrInfo *>(
+ TM.getTarget().createMCInstrInfo()),
TM.Options.MCOptions));
if (!TAP)
report_fatal_error("Inline asm not supported by this streamer because"