DescriptionPPC: Vector ICs: The Oracle needs to report feedback for the object literals and the count operation.
Port 752b0308df72461bfeb644bf6dd8dd331fcdb722
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=
Committed: https://crrev.com/6127d37d13b0d0eaeb50266fb47343badc142213
Cr-Commit-Position: refs/heads/master@{#30689}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|