Skip to content

Commit 6ded563

Browse files
committed
Remove incorrect makeCall utility for now
1 parent 85dccd0 commit 6ded563

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

usvm-ts/src/main/kotlin/org/usvm/machine/state/TsStateUtils.kt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,3 @@ inline val EtsMethod.parametersWithThisCount: Int
3232

3333
inline val EtsMethod.localsCount: Int
3434
get() = locals.size
35-
36-
// TODO: fix handling of arguments and use this function in machine
37-
fun TsState.makeCall(
38-
method: EtsMethod,
39-
instance: UExpr<*>,
40-
args: List<UExpr<*>>,
41-
) {
42-
pushSortsForArguments(0) { null }
43-
registerCallee(currentStatement, method.cfg)
44-
callStack.push(method, currentStatement)
45-
memory.stack.push(arrayOf(instance) + args.toTypedArray(), method.localsCount)
46-
newStmt(method.cfg.stmts.first())
47-
}

0 commit comments

Comments
 (0)