@@ -217,168 +217,7 @@ include("graphics.jl")
217
217
include (" profile.jl" )
218
218
importall . Profile
219
219
220
- include = include_from_node1
221
-
222
- # prime method cache with some things we know we'll need right after startup
223
- precompile (pwd, ())
224
- precompile (fdio, (Int32,))
225
- precompile (ProcessGroup, (Int, Array{Any,1 }, Array{Any,1 }))
226
- precompile (next, (Dict{Any,Any}, Int))
227
- precompile (start, (Dict{Any,Any},))
228
- precompile (perform_work, ())
229
- precompile (isempty, (Array{Any,1 },))
230
- precompile (getindex, (Dict{Any,Any}, Int32))
231
- precompile (event_loop, (Bool,))
232
- precompile (_start, ())
233
- precompile (process_options, (Array{Any,1 },))
234
- precompile (run_repl, ())
235
- precompile (any, (Function, Array{Any,1 }))
236
- precompile (Dict{Any,Any}, (Int,))
237
- precompile (Set, ())
238
- precompile (setindex!, (Dict{Any,Any}, Bool, Cmd))
239
- precompile (rehash, (Dict{Any,Any}, Int))
240
- precompile (wait, (Int32,))
241
- precompile (systemerror, (Symbol, Bool))
242
- precompile (SystemError, (ASCIIString,))
243
- precompile (has, (EnvHash, ASCIIString))
244
- precompile (parse_input_line, (ASCIIString,))
245
- precompile (cmp, (Int32, Int32))
246
- precompile (min, (Int32, Int32))
247
- precompile (== , (ASCIIString, ASCIIString))
248
- precompile (arg_gen, (ASCIIString,))
249
- precompile (Random. librandom_init, ())
250
- precompile (Random. srand, (ASCIIString, Int))
251
- precompile (Random. srand, (Uint64,))
252
- precompile (open, (ASCIIString, Bool, Bool, Bool, Bool))
253
- precompile (done, (IntSet, Int64))
254
- precompile (next, (IntSet, Int64))
255
- precompile (ht_keyindex, (Dict{Any,Any}, Int32))
256
- precompile (perform_work, (Task,))
257
- precompile (notify_full, (RemoteValue,))
258
- precompile (notify_empty, (RemoteValue,))
259
- precompile (work_result, (RemoteValue,))
260
- precompile (take, (RemoteValue,))
261
- precompile (wait_full, (RemoteValue,))
262
- precompile (enq_work, (Task,))
263
- precompile (string, (Int,))
264
- precompile (parseint, (Type{Int}, ASCIIString, Int))
265
- precompile (repeat, (ASCIIString, Int))
266
- precompile (KeyError, (Int,))
267
- precompile (show, (Float64,))
268
- precompile (match, (Regex, ASCIIString))
269
- precompile (length, (ASCIIString,))
270
- precompile (alignment, (Float64,))
271
- precompile (repl_callback, (Expr, Int))
272
- precompile (istaskdone, (Task,))
273
- precompile (int, (Uint64,))
274
- precompile (copy, (Bool,))
275
- precompile (bool, (Bool,))
276
- precompile (bool, (RemoteRef,))
277
- precompile (wait, (RemoteRef,))
278
- precompile (hash, (RemoteRef,))
279
- precompile (take, (RemoteRef,))
280
- precompile (bitmix, (Int, Int))
281
- precompile (bitmix, (Uint, Int))
282
- precompile (bitmix, (Uint64, Int64))
283
- precompile (hash, (Int,))
284
- precompile (isequal, (Symbol, Symbol))
285
- precompile (isequal, (Bool, Bool))
286
- precompile (get, (EnvHash, ASCIIString, ASCIIString))
287
- precompile (rr2id, (RemoteRef,))
288
- precompile (isequal, (RemoteRef, WeakRef))
289
- precompile (isequal, (RemoteRef, RemoteRef))
290
- precompile (_ieval, (Symbol,))
291
- precompile (static_convert, (Nothing, Nothing))
292
- precompile (setindex!, (Array{Any,1 }, WeakRef, Int))
293
- precompile (isequal, ((Int,Int),(Int,Int)))
294
- precompile (isequal, (Int,Int))
295
- precompile (RemoteRef, (Int, Int, Int))
296
- precompile (eval_user_input, (Expr, Bool))
297
- precompile (print, (Float64,))
298
- precompile (a2t, (Array{Any,1 },))
299
- precompile (flush, (IOStream,))
300
- precompile (getindex, (Type{ByteString}, ASCIIString, ASCIIString))
301
- precompile (bytestring, (ASCIIString,))
302
- precompile (int, (Int,))
303
- precompile (uint, (Uint,))
304
- precompile (_atexit, ())
305
- precompile (read, (IOStream, Array{Uint32,1 }))
306
- precompile (hex, (Char, Int))
307
- precompile (abs, (Char,))
308
- precompile (abstract_eval, (LambdaStaticData, ObjectIdDict, StaticVarInfo))
309
- precompile (length, (Range1{Int},))
310
- precompile (start, (Range1{Int},))
311
- precompile (done, (Range1{Int},Int))
312
- precompile (next, (Range1{Int},Int))
313
- precompile (IOStream, (ASCIIString, Array{Uint8,1 }))
314
- precompile (mk_tupleref, (SymbolNode, Int))
315
- precompile (abstract_interpret, (Bool, ObjectIdDict, StaticVarInfo))
316
- precompile (eval_annotate, (LambdaStaticData, ObjectIdDict, StaticVarInfo, ObjectIdDict, Array{Any,1 }))
317
- precompile (occurs_more, (Bool, Function, Int))
318
- precompile (isconstantfunc, (SymbolNode, StaticVarInfo))
319
- precompile (CallStack, (Expr, Module, (Nothing,), EmptyCallStack))
320
- precompile (convert, (Type{Module}, Module))
321
- precompile (effect_free, (Expr,))
322
- precompile (effect_free, (TopNode,))
323
- precompile (abspath, (ASCIIString,))
324
- precompile (isabspath, (ASCIIString,))
325
- precompile (split, (ASCIIString,))
326
- precompile (split, (ASCIIString, ASCIIString, Int, Bool))
327
- precompile (split, (ASCIIString, Regex, Int, Bool))
328
- precompile (print_joined, (IOBuffer, Array{String,1 }, ASCIIString))
329
- precompile (beginswith, (ASCIIString, ASCIIString))
330
- precompile (resolve_globals, (Symbol, Module, Module, Vector{Any}, Vector{Any}))
331
- precompile (resolve_globals, (SymbolNode, Module, Module, Vector{Any}, Vector{Any}))
332
- precompile (BitArray, (Int,))
333
- precompile (getindex, (BitArray{1 }, Int,))
334
- precompile (setindex!, (BitArray{1 }, Bool, Int,))
335
- precompile (fill!, (BitArray{1 }, Bool))
336
- precompile (pop!, (Array{Any,1 },))
337
- precompile (unshift!, (Array{Any,1 }, Task))
338
- precompile (nnz, (BitArray{1 },))
339
- precompile (get_chunks_id, (Int,))
340
- precompile (occurs_more, (Uint8, Function, Int))
341
- precompile (abstract_eval_arg, (Uint8, ObjectIdDict, StaticVarInfo))
342
- precompile (occurs_outside_tupleref, (Function, Symbol, StaticVarInfo, Int))
343
- precompile (search, (ASCIIString, Regex, Int))
344
- precompile (setindex!, (Vector{Any}, Uint8, Int))
345
- precompile (setindex!, (Vector{Any}, Vector{Any}, Int))
346
- precompile (first, (Range1{Int},))
347
- precompile (last, (Range1{Int},))
348
- precompile (isempty, (ASCIIString,))
349
- precompile (normpath, (ASCIIString,))
350
- precompile (print, (ASCIIString,))
351
- precompile (println, (TTY,))
352
- precompile (print, (TTY,Char))
353
- precompile (== , (Bool,Bool))
354
- precompile (try_include, (ASCIIString,))
355
- precompile (isfile, (ASCIIString,))
356
- precompile (include_from_node1, (ASCIIString,))
357
- precompile (source_path, (Nothing,))
358
- precompile (task_local_storage, ())
359
- precompile (atexit, (Function,))
360
- precompile (print, (TTY, ASCIIString))
361
- precompile (close, (TTY,))
362
- precompile (read_buffer, (TTY,Int))
363
- precompile (put, (RemoteRef, Any))
364
- precompile (getpid, ())
365
- precompile (print, (IOStream, Int32))
366
- precompile (show, (IOStream, Int32))
367
- precompile (open, (ASCIIString, ASCIIString))
368
- precompile (readline, (ASCIIString,))
369
- precompile (endof, (Array{Any,1 },))
370
- precompile (sym_replace, (Uint8, Array{Any,1 }, Array{Any,1 }, Array{Any,1 }, Array{Any,1 }))
371
- precompile (isslotempty, (Dict{Any,Any}, Int))
372
- precompile (setindex!, (Array{Uint8,1 }, Uint8, Int))
373
- precompile (get, (Dict{Any,Any}, Symbol, ASCIIString))
374
- precompile (* , (ASCIIString, ASCIIString, ASCIIString))
375
- precompile (chop, (ASCIIString,))
376
- precompile (ismatch, (Regex, ASCIIString))
377
- precompile (!= , (Bool, Bool))
378
- precompile (nextind, (ASCIIString, Int))
379
- precompile (delete_var!, (Expr, Symbol))
380
- precompile (close, (IOStream,))
381
- precompile (haskey, (ObjectIdDict, Symbol))
220
+ include (" precompile.jl" )
382
221
383
222
# invoke type inference, running the existing inference code on the new
384
223
# inference code to cache an optimized version of it.
@@ -396,4 +235,5 @@ let JL_PRIVATE_LIBDIR = get(ENV, "JL_PRIVATE_LIBDIR", "lib/julia")
396
235
# create system image file
397
236
ccall (:jl_save_system_image , Void, (Ptr{Uint8},),
398
237
" $JULIA_HOME /../$JL_PRIVATE_LIBDIR /sys.ji" )
238
+ ccall (:jl_dump_bitcode , Void, (Ptr{Uint8},), " $JULIA_HOME /../$JL_PRIVATE_LIBDIR /sys.bc" )
399
239
end
0 commit comments