Skip to content
Snippets Groups Projects
Commit 37ed4c32 authored by Ian Lance Taylor's avatar Ian Lance Taylor
Browse files

compiler: don't read known type, simplify Import::finalize_methods

    
    With the current export format, if we already know the type, we don't
    have to read and parse the definition.
    
    We only use the finalizer in Import::finalize_methods, so make it a
    local variable.  To match Finalize_methods::type, only put struct
    types into real_for_named.
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/197700

From-SVN: r276188
parent 51c3b7c6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment