• mvstanton's avatar
    [TypeFeedbackVector] Combine the literals array and the feedback vector. · 93f05b64
    mvstanton authored
    They have the same lifetime. It's a match!
    
    Both structures are native context dependent and dealt with (creation,
    clearing, gathering feedback) at the same time. By treating the spaces used
    for literal boilerplates as feedback vector slots, we no longer have to keep
    track of the materialized literal count elsewhere.
    
    A follow-on CL removes even more parser infrastructure related to this count.
    
    BUG=v8:5456
    
    Review-Url: https://codereview.chromium.org/2655853010
    Cr-Commit-Position: refs/heads/master@{#42771}
    93f05b64
parser.h 45.9 KB