forked from OSchip/llvm-project
parent
a0b5af46a2
commit
522d90528e
|
@ -1970,7 +1970,7 @@ populateInstruction(CodeGenTarget &Target, const Record &EncodingDef,
|
|||
CGI.Operands[SO.first].MIOperandInfo->getNumArgs()) {
|
||||
Init *Arg = CGI.Operands[SO.first].MIOperandInfo->
|
||||
getArg(SO.second);
|
||||
if (DefInit *DI = dyn_cast<DefInit>(Arg))
|
||||
if (DefInit *DI = cast<DefInit>(Arg))
|
||||
TypeRecord = DI->getDef();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue