• mbrandy's avatar
    PPC: Vector ICs: The Oracle needs to report feedback for the object literals... · 6127d37d
    mbrandy authored
    PPC: Vector ICs: The Oracle needs to report feedback for the object literals and the count operation.
    
    Port 752b0308
    
    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().
    
    R=mvstanton@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
    BUG=
    
    Review URL: https://codereview.chromium.org/1331893003
    
    Cr-Commit-Position: refs/heads/master@{#30689}
    6127d37d
Name
Last commit
Last update
..
OWNERS Loading commit data...
full-codegen-ppc.cc Loading commit data...