Skip to content

Commit 65b6df8

Browse files
authored
remove old code (#81)
1 parent ef12495 commit 65b6df8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/LoweredCodeUtils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using JuliaInterpreter
1313
using JuliaInterpreter: SSAValue, SlotNumber, Frame
1414
using JuliaInterpreter: @lookup, moduleof, pc_expr, step_expr!, is_global_ref, is_quotenode_egal, whichtt,
1515
next_until!, finish_and_return!, get_return, nstatements, codelocation, linetable,
16-
is_return, lookup_return, is_GotoIfNot, is_ReturnNode
16+
is_return, lookup_return
1717

1818
include("packagedef.jl")
1919

src/codeedges.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,10 @@ function add_links!(target::Pair{Union{SSAValue,SlotNumber,NamedVar},Links}, @no
307307
for i in arng
308308
add_links!(target, stmt.args[i], cl)
309309
end
310-
elseif is_GotoIfNot(stmt)
311-
add_links!(target, (stmt::Core.GotoIfNot).cond, cl)
312-
elseif is_ReturnNode(stmt)
313-
add_links!(target, (stmt::Core.ReturnNode).val, cl)
310+
elseif stmt isa Core.GotoIfNot
311+
add_links!(target, stmt.cond, cl)
312+
elseif stmt isa Core.ReturnNode
313+
add_links!(target, stmt.val, cl)
314314
end
315315
return nothing
316316
end

0 commit comments

Comments
 (0)