@@ -23,7 +23,7 @@ function stacklength(frame)
2323end
2424
2525# Execute a frame using Julia's regular compiled-code dispatch for any :call expressions
26- runframe(frame) = Some{Any}(finish_and_return!(Compiled (), frame))
26+ runframe(frame) = Some{Any}(finish_and_return!(NonRecursiveInterpreter (), frame))
2727
2828# Execute a frame using the interpreter for all :call expressions (except builtins & intrinsics)
2929runstack(frame) = Some{Any}(finish_and_return!(frame))
@@ -74,7 +74,7 @@ function evaluate_limited!(interp::Interpreter, frame::Frame, nstmts::Int, istop
7474 # _lnn_ = Aborted(frame, pc).at
7575 # _lnn_.file == Symbol("fake.jl") && _lnn_.line == 5 && isa(stmt, Core.GotoIfNot) && @show nstmts
7676 if isa(stmt, Expr)
77- if stmt. head === :call && ! isa(interp, Compiled )
77+ if stmt. head === :call && ! isa(interp, NonRecursiveInterpreter )
7878 limited_interp. nstmts = nstmts
7979 try
8080 rhs = evaluate_call!(limited_interp, frame, stmt)
@@ -86,7 +86,7 @@ function evaluate_limited!(interp::Interpreter, frame::Frame, nstmts::Int, istop
8686 new_pc = handle_err(interp, frame, err)
8787 end
8888 nstmts = limited_interp. nstmts
89- elseif stmt. head === :(= ) && isexpr(stmt. args[2 ], :call) && ! isa(interp, Compiled )
89+ elseif stmt. head === :(= ) && isexpr(stmt. args[2 ], :call) && ! isa(interp, NonRecursiveInterpreter )
9090 limited_interp. nstmts = nstmts
9191 try
9292 rhs = evaluate_call!(limited_interp, frame, stmt. args[2 ])
@@ -105,7 +105,7 @@ function evaluate_limited!(interp::Interpreter, frame::Frame, nstmts::Int, istop
105105 else
106106 limited_interp. nstmts = nstmts
107107 newframe = Frame(moduleof(frame), stmt)
108- if isa(interp, Compiled )
108+ if isa(interp, NonRecursiveInterpreter )
109109 finish!(interp, newframe, true )
110110 else
111111 newframe. caller = frame
161161# ## Functions needed on workers for running tests
162162
163163function configure_test()
164- # To run tests efficiently, certain methods must be run in Compiled mode,
164+ # To run tests efficiently, certain methods must be run in the compiled mode,
165165 # in particular those that are used by the Test infrastructure
166166 cm = JuliaInterpreter. compiled_methods
167167 empty!(cm)
@@ -205,7 +205,7 @@ function run_test_by_eval(test, fullpath, nstmts)
205205 ret, nstmtsleft = evaluate_limited!(frame, nstmtsleft, true )
206206 if isa(ret, Aborted)
207207 push!(aborts, ret)
208- JuliaInterpreter. finish_stack!(Compiled (), frame, true )
208+ JuliaInterpreter. finish_stack!(NonRecursiveInterpreter (), frame, true )
209209 end
210210 end
211211 println(" Finished " , $ test)
0 commit comments