s390x: [liftoff] implement De/AllocationStackSlot

Change-Id: Iaf00bdfba9d42d1e472e048bffee2cde628d164a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2749576
Reviewed-by: Milad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#73328}
This commit is contained in:
Junliang Yan 2021-03-10 16:15:19 -05:00 committed by Commit Bot
parent 4fb19d5608
commit 83e6c28155

View File

@ -2851,11 +2851,12 @@ void LiftoffAssembler::CallRuntimeStub(WasmCode::RuntimeStubId sid) {
}
void LiftoffAssembler::AllocateStackSlot(Register addr, uint32_t size) {
bailout(kUnsupportedArchitecture, "AllocateStackSlot");
lay(sp, MemOperand(sp, -size));
TurboAssembler::Move(addr, sp);
}
void LiftoffAssembler::DeallocateStackSlot(uint32_t size) {
bailout(kUnsupportedArchitecture, "DeallocateStackSlot");
lay(sp, MemOperand(sp, size));
}
void LiftoffStackSlots::Construct(int param_slots) {