Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdullinAM committed Feb 13, 2024
1 parent 3ece7e6 commit e7d3870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/org/vorpal/research/kfg/ir/value/Value.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ abstract class Value(val name: Name, val type: Type) : UsableValue() {
override fun get() = this
}

class Argument(val index: Int, val method: Method, type: Type) : Value(ConstantName("$argPrefix$index"), type) {
class Argument(val index: Int, val method: Method, type: Type) : Value(ConstantName("$ARG_PREFIX$index"), type) {
companion object {
const val argPrefix = "arg\$"
const val ARG_PREFIX = "arg\$"
}

override fun hashCode(): Int {
Expand Down

0 comments on commit e7d3870

Please sign in to comment.