Megamorphic KeyedLoadIC needs special handling for vector ics.
authormvstanton <mvstanton@chromium.org>
Mon, 2 Feb 2015 13:55:00 +0000 (05:55 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 2 Feb 2015 13:55:21 +0000 (13:55 +0000)
commit16843e239d95f5e8eaaa06d2a0a6e371298fe11f
tree2d8f873f7d4183ece7d036dbcf44642142848bd0
parent1de7dff2ef7b2dd0adf470c3ba54567330ae7cee
Megamorphic KeyedLoadIC needs special handling for vector ics.

When --vector-ics is true, we still tail-call to the hand-written
megamorphic KeyedLoadIC (formerly "generic"). Now that this code uses
the megamorphic cache, it needs to deal properly with the vector and
slot registers. Achieve this with a sentinel vectors/slot combo.

R=dcarney@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#26381}
include/v8.h
src/heap/heap.cc
src/heap/heap.h
src/ic/arm/ic-arm.cc
src/ic/arm64/ic-arm64.cc
src/ic/ia32/ic-ia32.cc
src/ic/mips/ic-mips.cc
src/ic/x64/ic-x64.cc