Commit a536a77f authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

PPC/s390x: [wasm][liftoff][eh] Implement catch with immediate

Port 3e689a7d

Original Message:
  Only support empty exceptions for now. Unpacking i32s, and
  eventually
  arbitrary types, will be done in separate CLs.

Bug: v8:11453
Change-Id: I4f019330bfb1753b424ef3a8c541054f5fa27e84
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2760777Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#73404}
parent e6f180b0
......@@ -120,6 +120,11 @@ void LiftoffAssembler::LoadTaggedPointer(Register dst, Register src_addr,
bailout(kUnsupportedArchitecture, "LoadTaggedPointer");
}
void LiftoffAssembler::LoadFullPointer(Register dst, Register src_addr,
int32_t offset_imm) {
bailout(kUnsupportedArchitecture, "LoadFullPointer");
}
void LiftoffAssembler::StoreTaggedPointer(Register dst_addr,
Register offset_reg,
int32_t offset_imm,
......
......@@ -220,6 +220,12 @@ void LiftoffAssembler::LoadTaggedPointer(Register dst, Register src_addr,
MemOperand(src_addr, offset_reg == no_reg ? r0 : offset_reg, offset_imm));
}
void LiftoffAssembler::LoadFullPointer(Register dst, Register src_addr,
int32_t offset_imm) {
UseScratchRegisterScope temps(this);
LoadU64(dst, MemOperand(src_addr, offset_imm), r1);
}
void LiftoffAssembler::StoreTaggedPointer(Register dst_addr,
Register offset_reg,
int32_t offset_imm,
......
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