PPC: Vector-ICs - speed towards the monomorphic exit as quickly as possible.
authormichael_dawson <michael_dawson@ca.ibm.com>
Thu, 9 Apr 2015 22:32:11 +0000 (15:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Apr 2015 22:32:12 +0000 (22:32 +0000)
commit806e57f401bf3add4f9248931ef045c6bab7a995
tree131fcd1a2e76d54c4835e6d44d62154b6a63f9bc
parentc00de38657643f7c44d70d7217cc4ea0ec92eeeb
PPC: Vector-ICs - speed towards the monomorphic exit as quickly as possible.

Port 35a67b745d862c5b1f584c2786ebf1369dc4f1ff

Original commit message:
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.

R=mbrandy@us.ibm.com

BUG=

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

Cr-Commit-Position: refs/heads/master@{#27728}
src/ppc/code-stubs-ppc.cc