• mvstanton's avatar
    Vector ICs: The Oracle needs to report feedback for the object literals and the count operation. · 752b0308
    mvstanton authored
    The refactoring is because it's awkward and error-prone to deterimine which IC slot an
    ObjectLiteralProperty uses for feedback. The fix is for each one to know it's own slot. In the
    numbering pass, we allocate slots for the ObjectLiteral, then hand out those slots into the
    properties.
    
    It adds one word to the ObjectLiteralProperty expression - I'm investigating if thats a
    problem.
    
    This changes makes compiling the object literal cleaner across the three compilers. Also, the
    slot allocation logic in ObjectLiteral::ComputeFeedbackRequirements() was refactoring to mimic
    the style in full-codegen. This is useful since it must remain in sync with
    FullCodegen::VisitObjectLiteral().
    
    Review URL: https://codereview.chromium.org/1321993004
    
    Cr-Commit-Position: refs/heads/master@{#30686}
    752b0308
ast-graph-builder.cc 156 KB