Commit fdc32cd2 authored by Vasili Skurydzin's avatar Vasili Skurydzin Committed by Commit Bot

s390x, ppc: Corrections to CallApiCallback calling convention

Related:
c6b0e12e [nojit] Refactor CallApiCallback calling convention
a31338aa PPC/s390: [nojit] Refactor CallApiCallback calling convention


Change-Id: I8f96c7b9a32ba3dde9dbbabb115d79fa36a0db46
Reviewed-on: https://chromium-review.googlesource.com/c/1380991Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#58496}
parent 45b1f8ca
......@@ -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
......
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