Commit 95751648 authored by Milad Fa's avatar Milad Fa Committed by Commit Bot

PPC/s390: [wasm][liftoff] Don't reserve space for the stack marker twice

Port 2180e20f

Original Commit Message:

    The total frame size returned by GetTotalFrameSize includes the frame
    marker. However, the frame marker is pushed on the stack with a push
    instruction. Therefore it is not needed to allocate memory for it again
    on the stack. This CL therefore reduces the memory allocated on the
    stack by the size of the frame marker.

R=ahaas@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
BUG=
LOG=N

Change-Id: I76e259d54703265fcf1a84857365997af008e16a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2558257Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#71379}
parent 0df6a208
......@@ -57,7 +57,7 @@ void LiftoffAssembler::PrepareTailCall(int num_callee_stack_params,
bailout(kUnsupportedArchitecture, "PrepareTailCall");
}
void LiftoffAssembler::PatchPrepareStackFrame(int offset, int frame_size) {
void LiftoffAssembler::PatchPrepareStackFrame(int offset) {
bailout(kUnsupportedArchitecture, "PatchPrepareStackFrame");
}
......
......@@ -56,7 +56,7 @@ void LiftoffAssembler::PrepareTailCall(int num_callee_stack_params,
bailout(kUnsupportedArchitecture, "PrepareTailCall");
}
void LiftoffAssembler::PatchPrepareStackFrame(int offset, int frame_size) {
void LiftoffAssembler::PatchPrepareStackFrame(int offset) {
bailout(kUnsupportedArchitecture, "PatchPrepareStackFrame");
}
......
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