File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 167167# Like a try-finally block, except without introducing the try scope
168168# NOTE: This is deprecated and should not be used from user logic. A proper solution to
169169# this problem will be introduced in https://github.com/JuliaLang/julia/pull/39217
170- macro _tryfinally (ex, fin)
170+ macro __tryfinally (ex, fin)
171171 Expr (:tryfinally ,
172172 :($ (esc (ex))),
173173 :($ (esc (fin)))
@@ -217,7 +217,7 @@ macro time(ex)
217217 local stats = gc_num ()
218218 local elapsedtime = time_ns ()
219219 local compile_elapsedtime = cumulative_compile_time_ns_before ()
220- local val = @_tryfinally ($ (esc (ex)),
220+ local val = @__tryfinally ($ (esc (ex)),
221221 (elapsedtime = time_ns () - elapsedtime;
222222 compile_elapsedtime = cumulative_compile_time_ns_after () - compile_elapsedtime)
223223 )
@@ -264,7 +264,7 @@ macro timev(ex)
264264 local stats = gc_num ()
265265 local elapsedtime = time_ns ()
266266 local compile_elapsedtime = cumulative_compile_time_ns_before ()
267- local val = @_tryfinally ($ (esc (ex)),
267+ local val = @__tryfinally ($ (esc (ex)),
268268 (elapsedtime = time_ns () - elapsedtime;
269269 compile_elapsedtime = cumulative_compile_time_ns_after () - compile_elapsedtime)
270270 )
You can’t perform that action at this time.
0 commit comments