[FIR] Support including flow information when dumping CFG dot file

This commit is contained in:
Brian Norman
2023-11-14 07:47:12 -06:00
committed by Space Team
parent 6fbd26905a
commit e92fab65aa
9 changed files with 126 additions and 30 deletions
@@ -22,10 +22,12 @@ data class Identifier(
}
}
sealed class DataFlowVariable(private val variableIndexForDebug: Int) {
sealed class DataFlowVariable(private val variableIndexForDebug: Int) : Comparable<DataFlowVariable> {
final override fun toString(): String {
return "d$variableIndexForDebug"
}
override fun compareTo(other: DataFlowVariable): Int = variableIndexForDebug.compareTo(other.variableIndexForDebug)
}
enum class PropertyStability(val impliedSmartcastStability: SmartcastStability?) {