X87: New hydrogen instruction to reduce cost of growing an array on keyed stores.
authorchunyang.dai <chunyang.dai@intel.com>
Wed, 13 May 2015 11:16:25 +0000 (04:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 13 May 2015 11:16:18 +0000 (11:16 +0000)
commit3ba6783565739907f7d96c3bfaae283a0ce1b353
tree3c22ba4c440f739a0d55ada2a6b9fda6747ba5f6
parentfecaed531be62416d977bd2b365f43058f7bf8ba
X87: New hydrogen instruction to reduce cost of growing an array on keyed stores.

port 3bce9c3afbe792167a54db49b16679289e0aea8f (r28359).

original commit message:

    HMaybeGrowElements moves the situation where you actually have to grow
    into deferred code. This means crankshaft doesn't have to spill registers
    just to make the bounds comparison to see if it'll need to grow or not.

    It makes the growing case a bit more expensive, but reduces the cost of
    the general case.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#28388}
src/x87/interface-descriptors-x87.cc
src/x87/lithium-codegen-x87.cc
src/x87/lithium-codegen-x87.h
src/x87/lithium-x87.cc
src/x87/lithium-x87.h