IR fix DNN type mangling
This commit is contained in:
+4
@@ -191,6 +191,10 @@ abstract class IrMangleComputer(protected val builder: StringBuilder, private va
|
|||||||
mangleTypePlatformSpecific(type, tBuilder)
|
mangleTypePlatformSpecific(type, tBuilder)
|
||||||
}
|
}
|
||||||
is IrDynamicType -> tBuilder.appendSignature(MangleConstant.DYNAMIC_MARK)
|
is IrDynamicType -> tBuilder.appendSignature(MangleConstant.DYNAMIC_MARK)
|
||||||
|
is IrDefinitelyNotNullType -> {
|
||||||
|
// TODO mangle DNN type differently from original simple type?
|
||||||
|
mangleType(tBuilder, type.original)
|
||||||
|
}
|
||||||
is IrErrorType -> tBuilder.appendSignature(MangleConstant.ERROR_MARK)
|
is IrErrorType -> tBuilder.appendSignature(MangleConstant.ERROR_MARK)
|
||||||
else -> error("Unexpected type $type")
|
else -> error("Unexpected type $type")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user