PPC: [fullcode][mips][mips64][ppc][s390] Avoid trashing of a home object when doing a keyed store to a super.

Port 43aee0331d

    Fixed minor typo in ppc file.

R=ishell@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com

BUG=chromium:625590
LOG=N

Review-Url: https://codereview.chromium.org/2125933002
Cr-Commit-Position: refs/heads/master@{#37562}
This commit is contained in:
bjaideep 2016-07-06 10:57:06 -07:00 committed by Commit bot
parent 433572b8e0
commit 5b823bfc6e

View File

@ -1665,7 +1665,7 @@ void FullCodeGenerator::VisitAssignment(Assignment* expr) {
PushOperand(result_register());
if (expr->is_compound()) {
const Register scratch1 = r5;
const Register scratch = r4;
const Register scratch2 = r4;
__ LoadP(scratch1, MemOperand(sp, 2 * kPointerSize));
__ LoadP(scratch2, MemOperand(sp, 1 * kPointerSize));
PushOperands(scratch1, scratch2, result_register());