File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -499,7 +499,7 @@ function make_oc_ref(
499
499
):: Core.OpaqueClosure
500
500
if Base. isassigned (oc_captures)
501
501
return oc_captures[]
502
- else
502
+ else
503
503
ores = ccall (
504
504
:jl_new_opaque_closure_from_code_info ,
505
505
Any,
@@ -558,7 +558,7 @@ function rewrite_argnumbers_by_one!(ir)
558
558
pushfirst! (ir. argtypes, Nothing)
559
559
560
560
# Re-write all references to existing arguments to their new index (N + 1)
561
- for idx = 1 : length (ir. stmts)
561
+ for idx in 1 : length (ir. stmts)
562
562
urs = Core. Compiler. userefs (ir. stmts[idx][:inst ])
563
563
changed = false
564
564
it = Core. Compiler. iterate (urs)
@@ -697,9 +697,8 @@ function call_with_reactant_generator(
697
697
) || guaranteed_error
698
698
ir, any_changed = rewrite_insts! (ir, interp, guaranteed_error)
699
699
end
700
-
701
700
702
- rewrite_argnumbers_by_one! (ir)
701
+ rewrite_argnumbers_by_one! (ir)
703
702
704
703
src = ccall (:jl_new_code_info_uninit , Ref{CC. CodeInfo}, ())
705
704
src. slotnames = fill (:none , length (ir. argtypes) + 1 )
@@ -708,7 +707,6 @@ function call_with_reactant_generator(
708
707
src. rettype = rt
709
708
src = CC. ir_to_codeinf! (src, ir)
710
709
711
-
712
710
if DEBUG_INTERP[]
713
711
safe_print (" src" , src)
714
712
end
You can’t perform that action at this time.
0 commit comments