• bmeurer's avatar
    [turbofan] Fix life time and use of the Typer. · a4f06027
    bmeurer authored
    Currently the Typer is installed on the Graph, no matter if we actually
    use the types or not (read: even in the generic pipeline). Also the
    Typer tries hard to eagerly type nodes during graph building, which
    takes time, just to remove those types later again, and retype
    everything from scratch. Plus this is inconsistent, since it only
    applies to the outermost graph, not the inlined graphs (which are
    eagerly typed once the nodes are copied). So in summary, what's
    currently implemented is neither useful nor well defined, so for now we
    stick to the full typing approach until a proper design for eager typing
    is available that will actually benefit us.
    
    R=rossberg@chromium.org,mstarzinger@chromium.org,jarin@chromium.org
    
    Review URL: https://codereview.chromium.org/1192553002
    
    Cr-Commit-Position: refs/heads/master@{#29086}
    a4f06027
typer.h 1.59 KB