Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: src/builtins/s390/builtins-s390.cc

Issue 2290603004: Merged: PPC/s390: Fix register mapping and imm16 issue (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.4
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins/ppc/builtins-ppc.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/s390/builtins-s390.cc
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc
index f9aebf935048f77121d58cc380c2bf648a91458c..c68fcc3e97734704ad59156d051a8c616a988da5 100644
--- a/src/builtins/s390/builtins-s390.cc
+++ b/src/builtins/s390/builtins-s390.cc
@@ -1467,7 +1467,7 @@ void Builtins::Generate_InstantiateAsmJs(MacroAssembler* masm) {
{
FrameScope scope(masm, StackFrame::INTERNAL);
// Preserve argument count for later compare.
- __ Move(r4, r2);
+ __ Move(r6, r2);
// Push a copy of the target function and the new target.
__ SmiTag(r2);
// Push another copy as a parameter to the runtime call.
@@ -1478,13 +1478,13 @@ void Builtins::Generate_InstantiateAsmJs(MacroAssembler* masm) {
for (int j = 0; j < 4; ++j) {
Label over;
if (j < 3) {
- __ CmpP(r4, Operand(j));
+ __ CmpP(r6, Operand(j));
__ b(ne, &over);
}
for (int i = j - 1; i >= 0; --i) {
- __ LoadP(r9, MemOperand(fp, StandardFrameConstants::kCallerSPOffset +
+ __ LoadP(r6, MemOperand(fp, StandardFrameConstants::kCallerSPOffset +
i * kPointerSize));
- __ push(r9);
+ __ push(r6);
}
for (int i = 0; i < 3 - j; ++i) {
__ PushRoot(Heap::kUndefinedValueRootIndex);
@@ -1502,12 +1502,12 @@ void Builtins::Generate_InstantiateAsmJs(MacroAssembler* masm) {
__ JumpIfSmi(r2, &failed);
__ Drop(2);
- __ pop(r4);
- __ SmiUntag(r4);
+ __ pop(r6);
+ __ SmiUntag(r6);
scope.GenerateLeaveFrame();
- __ AddP(r4, r4, Operand(1));
- __ Drop(r4, r7);
+ __ AddP(r6, r6, Operand(1));
+ __ Drop(r6);
__ Ret();
__ bind(&failed);
« no previous file with comments | « src/builtins/ppc/builtins-ppc.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698