[mlir] Print types to the OpAsmPrinter instead of the raw_ostream.

This allows for reusing the internal state of the printer, which is more
efficient and also allows for using type aliases
This commit is contained in:
River Riddle 2020-02-04 12:17:14 -08:00
parent 7f37a8026f
commit f0fb09c33e
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public:
void printFunctionalType(InputRangeT &&inputs, ResultRangeT &&results) {
auto &os = getStream();
os << "(";
interleaveComma(inputs, os);
interleaveComma(inputs, *this);
os << ")";
printArrowTypeList(results);
}