Commit 5b823bfc authored by bjaideep's avatar bjaideep Committed by Commit bot

PPC: [fullcode][mips][mips64][ppc][s390] Avoid trashing of a home object when...

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

Port 43aee033

    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}
parent 433572b8
...@@ -1665,7 +1665,7 @@ void FullCodeGenerator::VisitAssignment(Assignment* expr) { ...@@ -1665,7 +1665,7 @@ void FullCodeGenerator::VisitAssignment(Assignment* expr) {
PushOperand(result_register()); PushOperand(result_register());
if (expr->is_compound()) { if (expr->is_compound()) {
const Register scratch1 = r5; const Register scratch1 = r5;
const Register scratch = r4; const Register scratch2 = r4;
__ LoadP(scratch1, MemOperand(sp, 2 * kPointerSize)); __ LoadP(scratch1, MemOperand(sp, 2 * kPointerSize));
__ LoadP(scratch2, MemOperand(sp, 1 * kPointerSize)); __ LoadP(scratch2, MemOperand(sp, 1 * kPointerSize));
PushOperands(scratch1, scratch2, result_register()); PushOperands(scratch1, scratch2, result_register());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment