[flang] Update FirOpsDialect constructor to pass its TypeID

This commit is contained in:
River Riddle 2020-08-07 13:41:42 -07:00
parent c8c45985fb
commit 82fd139201
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
using namespace fir;
fir::FIROpsDialect::FIROpsDialect(mlir::MLIRContext *ctx)
: mlir::Dialect("fir", ctx) {
: mlir::Dialect("fir", ctx, mlir::TypeID::get<FIROpsDialect>()) {
addTypes<BoxType, BoxCharType, BoxProcType, CharacterType, CplxType, DimsType,
FieldType, HeapType, IntType, LenType, LogicalType, PointerType,
RealType, RecordType, ReferenceType, SequenceType, TypeDescType>();