diff --git a/Project.toml b/Project.toml index 1950b95..bc7807a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,13 +1,13 @@ name = "LoweredCodeUtils" uuid = "6f1432cf-f94c-5a45-995e-cdbf5db27b0b" -authors = ["Tim Holy "] version = "3.2.1" +authors = ["Tim Holy "] [deps] JuliaInterpreter = "aa1ae85d-cabe-5617-a682-6adf51b2e16a" [compat] -JuliaInterpreter = "0.9.44" +JuliaInterpreter = "0.9.46" julia = "1.10" [extras] diff --git a/src/LoweredCodeUtils.jl b/src/LoweredCodeUtils.jl index eb9908a..7ce009f 100644 --- a/src/LoweredCodeUtils.jl +++ b/src/LoweredCodeUtils.jl @@ -11,9 +11,9 @@ module LoweredCodeUtils using JuliaInterpreter using JuliaInterpreter: SSAValue, SlotNumber, Frame -using JuliaInterpreter: @lookup, moduleof, pc_expr, step_expr!, is_global_ref, is_global_ref_egal, is_quotenode_egal, whichtt, - next_until!, finish_and_return!, get_return, nstatements, codelocation, linetable, - is_return, lookup_return +using JuliaInterpreter: codelocation, is_global_ref, is_global_ref_egal, is_quotenode_egal, is_return, + lookup, lookup_return, linetable, moduleof, next_until!, nstatements, pc_expr, + step_expr!, whichtt, finish_and_return! include("packagedef.jl") diff --git a/src/signatures.jl b/src/signatures.jl index 2e77c8e..625fa2b 100644 --- a/src/signatures.jl +++ b/src/signatures.jl @@ -53,7 +53,7 @@ function signature(@nospecialize(recurse), frame::Frame, @nospecialize(stmt), pc stmt = pc_expr(frame, pc) end isa(stmt, Expr) || return nothing, pc - sigsv = @lookup(frame, stmt.args[2])::SimpleVector + sigsv = lookup(frame, stmt.args[2])::SimpleVector sigt = signature(sigsv) return sigt, lastpc end