PPC: Resolve references to "this" the same way as normal variables
authormbrandy <mbrandy@us.ibm.com>
Wed, 6 May 2015 16:30:06 +0000 (09:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 6 May 2015 16:30:08 +0000 (16:30 +0000)
commite0ec097b2f49c4c99a2e9490f4b1a09e02abfd4d
tree12f5f451330576ddb8a418faca0f49edf8f95c81
parentd4ea33f480243fb5b7d2cca6edddcaa3e9478e29
PPC: Resolve references to "this" the same way as normal variables

Port 18619d355192e2699203d12d9ebb9caea107b693

Original commit message:
Make the parser handle references to "this" as unresolved variables, so the
same logic as for the rest of function parameters is used for the receiver.
Minor additions to the code generation handle copying the receiver to the
context, along with the rest of the function parameters.

Based on work by Adrian Perez de Castro <aperez@igalia.com>.

R=wingo@igalia.com, dstence@us.ibm.com,  michael_dawson@ca.ibm.com
BUG=

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

Cr-Commit-Position: refs/heads/master@{#28272}
src/ppc/full-codegen-ppc.cc
src/ppc/lithium-codegen-ppc.cc