Skip to content

Instantly share code, notes, and snippets.

@aviatesk
Created April 28, 2021 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aviatesk/681de54e5482104794dfa8345d3031a9 to your computer and use it in GitHub Desktop.
Save aviatesk/681de54e5482104794dfa8345d3031a9 to your computer and use it in GitHub Desktop.
julia> ] add Revise
julia> using Revise
julia> Revise.track(Core.Compiler)
# typeinf_local(interp::AbstractInterpreter, frame::InferenceState)の1行目に以下の変更を加えてsave
# println(frame.slottypes)
julia> code_typed(use_tvar_info, (Union{Int,Nothing},Int); optimize=false)
Array{Any, (3,)}[
Core.Const(val=Main.use_tvar_info),
Int64,
Int64]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment