s390x, ppc: Corrections to CallApiCallback calling convention
Related:c6b0e12e4e
[nojit] Refactor CallApiCallback calling conventiona31338aa08
PPC/s390: [nojit] Refactor CallApiCallback calling convention Change-Id: I8f96c7b9a32ba3dde9dbbabb115d79fa36a0db46 Reviewed-on: https://chromium-review.googlesource.com/c/1380991 Reviewed-by: Junliang Yan <jyan@ca.ibm.com> Reviewed-by: Joran Siu <joransiu@ca.ibm.com> Commit-Queue: Junliang Yan <jyan@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#58496}
This commit is contained in:
parent
45b1f8caaf
commit
fdc32cd222
@ -3006,8 +3006,7 @@ void Builtins::Generate_CallApiCallback(MacroAssembler* masm) {
|
||||
MemOperand(sp, (kStackFrameExtraParamSlot + 2) * kPointerSize));
|
||||
|
||||
// FunctionCallbackInfo::length_.
|
||||
__ StoreP(argc,
|
||||
MemOperand(sp, (kStackFrameExtraParamSlot + 3) * kPointerSize));
|
||||
__ stw(argc, MemOperand(sp, (kStackFrameExtraParamSlot + 3) * kPointerSize));
|
||||
|
||||
// We also store the number of bytes to drop from the stack after returning
|
||||
// from the API function here.
|
||||
|
@ -2994,7 +2994,7 @@ void Builtins::Generate_CallApiCallback(MacroAssembler* masm) {
|
||||
MemOperand(sp, (kStackFrameExtraParamSlot + 2) * kPointerSize));
|
||||
|
||||
// FunctionCallbackInfo::length_.
|
||||
__ StoreP(argc,
|
||||
__ StoreW(argc,
|
||||
MemOperand(sp, (kStackFrameExtraParamSlot + 3) * kPointerSize));
|
||||
|
||||
// We also store the number of bytes to drop from the stack after returning
|
||||
|
Loading…
Reference in New Issue
Block a user