• chunyang.dai's avatar
    X87: Vector ICs: The Oracle needs to report feedback for the object literals... · 1b861008
    chunyang.dai authored
    X87: Vector ICs: The Oracle needs to report feedback for the object literals and the count operation.
    
    port 752b0308 (r30686).
    
    original commit message:
    
        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().
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1341223002
    
    Cr-Commit-Position: refs/heads/master@{#30739}
    1b861008
full-codegen-x87.cc 173 KB