@@ -23,7 +23,7 @@ include(strcat(BUILDROOT, "version_git.jl")) # include($BUILDROOT/base/version_g
2323# a slightly more verbose fashion than usual, because we're running so early.
2424let os = ccall (:jl_get_UNAME , Any, ())
2525 if os === :Darwin || os === :Apple
26- if Base . DARWIN_FRAMEWORK
26+ if DARWIN_FRAMEWORK
2727 push! (DL_LOAD_PATH, " @loader_path/Frameworks" )
2828 end
2929 push! (DL_LOAD_PATH, " @loader_path" )
@@ -306,8 +306,8 @@ a_method_to_overwrite_in_test() = inferencebarrier(1)
306306(this:: IncludeInto )(mapexpr:: Function , fname:: AbstractString ) = include (mapexpr, this. m, fname)
307307
308308# Compatibility with when Compiler was in Core
309- @eval Core const Compiler = Main . Base. Compiler
310- @eval Compiler const fl_parse = Core . Main . Base. fl_parse
309+ @eval Core const Compiler = $ Base. Compiler
310+ @eval Compiler const fl_parse = $ Base. fl_parse
311311
312312# External libraries vendored into Base
313313Core. println (" JuliaSyntax/src/JuliaSyntax.jl" )
@@ -323,13 +323,13 @@ if is_primary_base_module
323323# Profiling helper
324324# triggers printing the report and (optionally) saving a heap snapshot after a SIGINFO/SIGUSR1 profile request
325325# Needs to be in Base because Profile is no longer loaded on boot
326- function profile_printing_listener (cond:: Base. AsyncCondition )
326+ function profile_printing_listener (cond:: AsyncCondition )
327327 profile = nothing
328328 try
329329 while _trywait (cond)
330330 profile = @something (profile, require_stdlib (PkgId (UUID (" 9abbd945-dff8-562f-b5e8-e1ebf5ef1b79" ), " Profile" ))):: Module
331331 invokelatest (profile. peek_report[])
332- if Base . get_bool_env (" JULIA_PROFILE_PEEK_HEAP_SNAPSHOT" , false ) === true
332+ if get_bool_env (" JULIA_PROFILE_PEEK_HEAP_SNAPSHOT" , false ) === true
333333 println (stderr , " Saving heap snapshot..." )
334334 fname = invokelatest (profile. take_heap_snapshot)
335335 println (stderr , " Heap snapshot saved to `$(fname) `" )
@@ -344,8 +344,8 @@ function profile_printing_listener(cond::Base.AsyncCondition)
344344end
345345
346346function start_profile_listener ()
347- cond = Base . AsyncCondition ()
348- Base . uv_unref (cond. handle)
347+ cond = AsyncCondition ()
348+ uv_unref (cond. handle)
349349 t = errormonitor (Threads. @spawn (profile_printing_listener (cond)))
350350 atexit () do
351351 # destroy this callback when exiting
405405const _compiler_require_dependencies = Any[]
406406@Core . latestworld
407407for i = 1 : length (_included_files)
408- isassigned (_included_files, i) || continue
409408 (mod, file) = _included_files[i]
410409 if mod === Compiler || parentmodule (mod) === Compiler || endswith (file, " /Compiler.jl" )
411410 _include_dependency! (_compiler_require_dependencies, true , mod, file, true , false )
421420@assert length (_compiler_require_dependencies) >= 15
422421
423422end
424-
425- # Ensure this file is also tracked
426- @assert ! isassigned (_included_files, 1 )
427- _included_files[1 ] = (parentmodule (Base), abspath (@__FILE__ ))
0 commit comments