PPC: Only swap undefined for the global object if necessary in the prologue
authormbrandy <mbrandy@us.ibm.com>
Mon, 4 May 2015 15:33:50 +0000 (08:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 4 May 2015 15:33:56 +0000 (15:33 +0000)
commitb10fb64b0c320c47d449496c063ed38850e171f9
treebb5eb2c2ad8cc5ea99e7c6ba900511f457aba551
parentf21ea065b3affe572cfeee9e2d03b0548b0d02dd
PPC: Only swap undefined for the global object if necessary in the prologue

Port fab3508062396c2768b5dcfa0fd7d40eba527d62

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

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

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