Vector-ICs - speed towards the monomorphic exit as quickly as possible.
authormvstanton <mvstanton@chromium.org>
Tue, 7 Apr 2015 14:49:59 +0000 (07:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Apr 2015 14:50:09 +0000 (14:50 +0000)
commit35a67b745d862c5b1f584c2786ebf1369dc4f1ff
treece056888efc245305cf1ff8a0fb4c2ca459aca27
parent6a222b8ff033eb523149794d37c0d0f29bc8fc40
Vector-ICs - speed towards the monomorphic exit as quickly as possible.

Thanks to some careful assumptions, we can examine the object found at
vector[slot] and trust it's a heap object where the second field is
either a map if it's a WeakCell, or definitely not a map if it's a
Symbol, String or FixedArray. Use this to save a memory read.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#27631}
src/arm/assembler-arm.h
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc
src/x64/code-stubs-x64.cc