File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
usvm-ts/src/main/kotlin/org/usvm/machine Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import org.usvm.UBv32Sort
1818import org.usvm.UConcreteHeapRef
1919import org.usvm.UContext
2020import org.usvm.UExpr
21- import org.usvm.UHeapRef
2221import org.usvm.USort
2322import org.usvm.collection.field.UFieldLValue
2423import org.usvm.isTrue
@@ -103,7 +102,7 @@ class TsContext(
103102 return ref
104103 }
105104
106- fun UHeapRef .extractSingleValueFromFakeObjectOrNull (scope : TsStepScope ): UExpr <out USort >? {
105+ fun UExpr < out USort > .extractSingleValueFromFakeObjectOrNull (scope : TsStepScope ): UExpr <out USort >? {
107106 if (! isFakeObject()) return null
108107
109108 val type = scope.calcOnState {
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ sealed interface TsBinaryOperator {
5656 rhs : UExpr <out USort >,
5757 scope : TsStepScope ,
5858 ): UExpr <out USort > {
59- val lhsValue = if ( lhs.isFakeObject()) lhs. extractSingleValueFromFakeObjectOrNull(scope) ? : lhs else lhs
60- val rhsValue = if ( rhs.isFakeObject()) rhs. extractSingleValueFromFakeObjectOrNull(scope) ? : rhs else rhs
59+ val lhsValue = lhs.extractSingleValueFromFakeObjectOrNull(scope) ? : lhs
60+ val rhsValue = rhs.extractSingleValueFromFakeObjectOrNull(scope) ? : rhs
6161
6262 if (lhsValue.isFakeObject() || rhsValue.isFakeObject()) {
6363 return resolveFakeObject(lhsValue, rhsValue, scope)
You can’t perform that action at this time.
0 commit comments