@@ -516,7 +516,7 @@ Step through statements of `frame` until the next statement satifies `predicate(
516
516
"""
517
517
function next_until! (f, stack, frame, pc:: JuliaProgramCounter = frame. pc[], istoplevel:: Bool = false )
518
518
while (pc = _step_expr! (stack, frame, pc, istoplevel)) != nothing
519
- f (plain ( pc_expr (frame, pc) )) && (frame. pc[] = pc; return pc)
519
+ f (pc_expr (frame, pc)) && (frame. pc[] = pc; return pc)
520
520
end
521
521
return nothing
522
522
end
@@ -554,7 +554,7 @@ function find_used(code::CodeInfo)
554
554
used = BitSet ()
555
555
stmts = code. code
556
556
for stmt in stmts
557
- Core. Compiler. scan_ssa_use! (push!, used, plain ( stmt) )
557
+ Core. Compiler. scan_ssa_use! (push!, used, stmt)
558
558
if isexpr (stmt, :struct_type ) # this one is missed
559
559
for a in stmt. args
560
560
Core. Compiler. scan_ssa_use! (push!, used, a)
@@ -580,7 +580,7 @@ function next_line!(stack, frame, dbstack = nothing)
580
580
while location (frame, pc) == initial
581
581
# If this is a return node, interrupt execution. This is the same
582
582
# special case as in `s`.
583
- expr = plain ( pc_expr (frame, pc) )
583
+ expr = pc_expr (frame, pc)
584
584
(! first && isexpr (expr, :return )) && return pc
585
585
first = false
586
586
# If this is a goto node, step it and reevaluate
@@ -592,7 +592,7 @@ function next_line!(stack, frame, dbstack = nothing)
592
592
# confuses the logic here, just step into the first call that's not a builtin
593
593
while true
594
594
dbstack[1 ] = JuliaStackFrame (JuliaFrameCode (frame. code; wrapper = true ), frame, pc)
595
- call_expr = plain ( pc_expr (frame, pc) )
595
+ call_expr = pc_expr (frame, pc)
596
596
isexpr (call_expr, :(= )) && (call_expr = call_expr. args[2 ])
597
597
call_expr = Expr (:call , map (x-> @lookup (frame, x), call_expr. args)... )
598
598
new_frame = enter_call_expr (call_expr)
617
617
618
618
function maybe_next_call! (stack, frame, pc)
619
619
call_or_return (node) = is_call (node) || isexpr (node, :return )
620
- call_or_return (plain ( pc_expr (frame, pc) )) ||
620
+ call_or_return (pc_expr (frame, pc)) ||
621
621
(pc = next_until! (call_or_return, stack, frame, pc, false ))
622
622
pc
623
623
end
0 commit comments