X87: Vector ICs: The Oracle needs to report feedback for the object literals and...
authorchunyang.dai <chunyang.dai@intel.com>
Tue, 15 Sep 2015 11:20:36 +0000 (04:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 15 Sep 2015 11:20:45 +0000 (11:20 +0000)
commit1b8610088cf46fb031638005c7933cdef71cf1f7
treebe224aabf63869267bcbb856b145cb59ed914bff
parent9e47ec6edab84adcbd180d2e7fa03fcb2d9295ee
X87: Vector ICs: The Oracle needs to report feedback for the object literals and the count operation.

port 752b0308df72461bfeb644bf6dd8dd331fcdb722 (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}
src/full-codegen/x87/full-codegen-x87.cc