Skip to content

Commit

Permalink
[wasm] Fix LiftoffAssembler method signatures for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Oct 19, 2022
1 parent 9700cc1 commit a823d7b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/wasm/baseline/arm/liftoff-assembler-arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ void LiftoffAssembler::StoreTaggedPointer(Register dst_addr,
}

void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr,
Register offset_reg, uint32_t offset_imm,
Register offset_reg, uintptr_t offset_imm,
LoadType type, uint32_t* protected_load_pc,
bool /* is_load_mem */, bool /* i64_offset */,
bool needs_shift) {
Expand All @@ -814,7 +814,7 @@ void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr,
}

void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
uint32_t offset_imm, LiftoffRegister src,
uintptr_t offset_imm, LiftoffRegister src,
StoreType type, LiftoffRegList pinned,
uint32_t* protected_store_pc,
bool /* is_store_mem */, bool /* i64_offset */) {
Expand Down Expand Up @@ -1086,7 +1086,7 @@ inline void I64Store(LiftoffAssembler* lasm, LiftoffRegister dst,
} // namespace liftoff

void LiftoffAssembler::AtomicLoad(LiftoffRegister dst, Register src_addr,
Register offset_reg, uint32_t offset_imm,
Register offset_reg, uintptr_t offset_imm,
LoadType type, LiftoffRegList /* pinned */) {
if (type.value() != LoadType::kI64Load) {
Load(dst, src_addr, offset_reg, offset_imm, type, nullptr, true);
Expand Down Expand Up @@ -1114,7 +1114,7 @@ void LiftoffAssembler::AtomicLoad(LiftoffRegister dst, Register src_addr,
}

void LiftoffAssembler::AtomicStore(Register dst_addr, Register offset_reg,
uint32_t offset_imm, LiftoffRegister src,
uintptr_t offset_imm, LiftoffRegister src,
StoreType type, LiftoffRegList pinned) {
if (type.value() == StoreType::kI64Store) {
liftoff::AtomicOp64(this, dst_addr, offset_reg, offset_imm, src, {},
Expand All @@ -1129,7 +1129,7 @@ void LiftoffAssembler::AtomicStore(Register dst_addr, Register offset_reg,
}

void LiftoffAssembler::AtomicAdd(Register dst_addr, Register offset_reg,
uint32_t offset_imm, LiftoffRegister value,
uintptr_t offset_imm, LiftoffRegister value,
LiftoffRegister result, StoreType type) {
if (type.value() == StoreType::kI64Store) {
liftoff::AtomicOp64(this, dst_addr, offset_reg, offset_imm, value, {result},
Expand All @@ -1141,7 +1141,7 @@ void LiftoffAssembler::AtomicAdd(Register dst_addr, Register offset_reg,
}

void LiftoffAssembler::AtomicSub(Register dst_addr, Register offset_reg,
uint32_t offset_imm, LiftoffRegister value,
uintptr_t offset_imm, LiftoffRegister value,
LiftoffRegister result, StoreType type) {
if (type.value() == StoreType::kI64Store) {
liftoff::AtomicOp64(this, dst_addr, offset_reg, offset_imm, value, {result},
Expand All @@ -1153,7 +1153,7 @@ void LiftoffAssembler::AtomicSub(Register dst_addr, Register offset_reg,
}

void LiftoffAssembler::AtomicAnd(Register dst_addr, Register offset_reg,
uint32_t offset_imm, LiftoffRegister value,
uintptr_t offset_imm, LiftoffRegister value,
LiftoffRegister result, StoreType type) {
if (type.value() == StoreType::kI64Store) {
liftoff::AtomicOp64(this, dst_addr, offset_reg, offset_imm, value, {result},
Expand All @@ -1165,7 +1165,7 @@ void LiftoffAssembler::AtomicAnd(Register dst_addr, Register offset_reg,
}

void LiftoffAssembler::AtomicOr(Register dst_addr, Register offset_reg,
uint32_t offset_imm, LiftoffRegister value,
uintptr_t offset_imm, LiftoffRegister value,
LiftoffRegister result, StoreType type) {
if (type.value() == StoreType::kI64Store) {
liftoff::AtomicOp64(this, dst_addr, offset_reg, offset_imm, value, {result},
Expand All @@ -1177,7 +1177,7 @@ void LiftoffAssembler::AtomicOr(Register dst_addr, Register offset_reg,
}

void LiftoffAssembler::AtomicXor(Register dst_addr, Register offset_reg,
uint32_t offset_imm, LiftoffRegister value,
uintptr_t offset_imm, LiftoffRegister value,
LiftoffRegister result, StoreType type) {
if (type.value() == StoreType::kI64Store) {
liftoff::AtomicOp64(this, dst_addr, offset_reg, offset_imm, value, {result},
Expand All @@ -1189,7 +1189,7 @@ void LiftoffAssembler::AtomicXor(Register dst_addr, Register offset_reg,
}

void LiftoffAssembler::AtomicExchange(Register dst_addr, Register offset_reg,
uint32_t offset_imm,
uintptr_t offset_imm,
LiftoffRegister value,
LiftoffRegister result, StoreType type) {
if (type.value() == StoreType::kI64Store) {
Expand Down Expand Up @@ -1269,7 +1269,7 @@ inline void AtomicI64CompareExchange(LiftoffAssembler* lasm,
} // namespace liftoff

void LiftoffAssembler::AtomicCompareExchange(
Register dst_addr, Register offset_reg, uint32_t offset_imm,
Register dst_addr, Register offset_reg, uintptr_t offset_imm,
LiftoffRegister expected, LiftoffRegister new_value, LiftoffRegister result,
StoreType type) {
if (type.value() == StoreType::kI64Store) {
Expand Down

0 comments on commit a823d7b

Please sign in to comment.