PPC: Switch CallConstructStub to take new.target in register.
authormbrandy <mbrandy@us.ibm.com>
Thu, 16 Jul 2015 12:59:42 +0000 (05:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 12:59:48 +0000 (12:59 +0000)
commita02f7e6f496976f960d37125ffeab3dc2983ce9a
tree6a3848ea8113ed2670bc8890d067c626de927f82
parent40c38c5a5a14471e88f4e7a31660f4908bd8fdf7
PPC: Switch CallConstructStub to take new.target in register.

Port 1d9d895754e1d1cf824c11a9cce5e495fa47d5e2

Original commit message:
    This changes the calling convention of the CallConstructStub to take
    the original constructor (i.e. new.target in JS-speak) in a register
    instead of magically via the operand stack. For optimizing compilers
    the operand stack doesn't exist, hence cannot be peeked into.

R=mstarzinger@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com
BUG=

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

Cr-Commit-Position: refs/heads/master@{#29702}
src/ppc/builtins-ppc.cc
src/ppc/code-stubs-ppc.cc
src/ppc/full-codegen-ppc.cc
src/ppc/interface-descriptors-ppc.cc