PPC/s390x: [wasm][liftoff][eh] Implement catch with immediate
Port 3e689a7da6
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/+/2760777
Reviewed-by: Milad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#73404}
This commit is contained in:
parent
e6f180b079
commit
a536a77ffe
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user