Vector ICs: Ensure KeyedAccessStore mode is encoded in all handlers.
authormvstanton <mvstanton@chromium.org>
Wed, 26 Aug 2015 10:47:49 +0000 (03:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Aug 2015 10:48:06 +0000 (10:48 +0000)
commit24921f76c60ea6e0c01866d121de7227ff095129
tree9b1349297506073781601d4d5a9abf539a0289fb
parentbfbcb3d3fbb5bd816fbcedb1f8690d0d09191ec3
Vector ICs: Ensure KeyedAccessStore mode is encoded in all handlers.

For vector-based keyed store ics, we need to know the current
KeyedAccessStore mode on ic MISS, and to produce optimized code.

We can't store this mode, which can change on any MISS in the IC
without patching. Therefore, this CL makes sure that the information is
redundantly available in the handlers embedded in the IC. This way,
when --vector-stores is turned on, we'll be able to extract that
information from the vector which maintains a list of these handlers.

BUG=

Review URL: https://codereview.chromium.org/1312693004

Cr-Commit-Position: refs/heads/master@{#30378}
src/ast.h
src/code-stubs.h
src/ic/ic-compiler.cc
src/ic/ic.cc
src/ic/ic.h