• mvstanton@chromium.org's avatar
    Introduce FeedbackNexus for vector-based ics. · a2e21393
    mvstanton@chromium.org authored
    A FeedbackNexus is the combination of a feedback vector, a slot(s) in
    the vector, along with methods to query and manipulate that information
    in a type-correct way.
    
    A CallIC will have a CallICNexus, a LoadIC a LoadICNexus, etc.,
    reflecting the fact that different types of ICs configure their data
    in unique ways.
    
    This CL limits itself to introducing and using the nexus type only for
    CallICs. A follow-up will use them for Load and KeyedLoadICs for the
    case when the --vector-ics flag is turned on.
    
    The notion of a Nexus is also embedded at the lowest level of the IC
    class. This makes sense because more ICs should become vector-based
    in the future.
    
    R=ishell@chromium.org
    
    Review URL: https://codereview.chromium.org/683933002
    
    Cr-Commit-Position: refs/heads/master@{#24952}
    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24952 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    a2e21393
type-feedback-vector.cc 8.78 KB