Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

func_specializations include types in MethodTable backedges #1

Merged
merged 2 commits into from
Jan 16, 2020

Conversation

NHDaly
Copy link
Owner

@NHDaly NHDaly commented Jan 15, 2020

This now returns (:MethodTable, Type{...}) for the backedges of a
function:

julia> LookingGlass.func_backedges(foo)
Dict{Tuple,Array{Any,1}} with 2 entries:
  (foo(x) in Main at none:1, Tuple{typeof(foo),Int64}) => Any[]
  (:MethodTable, Tuple{typeof(foo),Int64,Int64})       => Any[MethodInstance for static_hasmethod(::typeof(fo

This now returns `(:MethodTable, Type{...})` for the backedges of a
function:

```julia
julia> LookingGlass.func_backedges(foo)
Dict{Tuple,Array{Any,1}} with 2 entries:
  (foo(x) in Main at none:1, Tuple{typeof(foo),Int64}) => Any[]
  (:MethodTable, Tuple{typeof(foo),Int64,Int64})       => Any[MethodInstance for static_hasmethod(::typeof(fo…
```
@NHDaly NHDaly merged commit bcf123d into master Jan 16, 2020
@NHDaly NHDaly deleted the func_backedges--fix-MethodTable-printing branch January 16, 2020 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant