Commit 32e4540b authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[Liftoff][cleanup][x64] Remove unused parameter

R=titzer@chromium.org

Bug: v8:6600
Change-Id: I2adb5a74cfdc6ec7e229f1ca1bd31d8209156617
Reviewed-on: https://chromium-review.googlesource.com/1167519Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55002}
parent f2467e3c
...@@ -49,7 +49,7 @@ inline Operand GetStackSlot(uint32_t index) { ...@@ -49,7 +49,7 @@ inline Operand GetStackSlot(uint32_t index) {
inline Operand GetInstanceOperand() { return Operand(rbp, -16); } inline Operand GetInstanceOperand() { return Operand(rbp, -16); }
inline Operand GetMemOp(LiftoffAssembler* assm, Register addr, Register offset, inline Operand GetMemOp(LiftoffAssembler* assm, Register addr, Register offset,
uint32_t offset_imm, LiftoffRegList pinned) { uint32_t offset_imm) {
if (is_uint31(offset_imm)) { if (is_uint31(offset_imm)) {
if (offset == no_reg) return Operand(addr, offset_imm); if (offset == no_reg) return Operand(addr, offset_imm);
return Operand(addr, offset, times_1, offset_imm); return Operand(addr, offset, times_1, offset_imm);
...@@ -208,8 +208,7 @@ void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, ...@@ -208,8 +208,7 @@ void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr,
if (emit_debug_code() && offset_reg != no_reg) { if (emit_debug_code() && offset_reg != no_reg) {
AssertZeroExtended(offset_reg); AssertZeroExtended(offset_reg);
} }
Operand src_op = Operand src_op = liftoff::GetMemOp(this, src_addr, offset_reg, offset_imm);
liftoff::GetMemOp(this, src_addr, offset_reg, offset_imm, pinned);
if (protected_load_pc) *protected_load_pc = pc_offset(); if (protected_load_pc) *protected_load_pc = pc_offset();
switch (type.value()) { switch (type.value()) {
case LoadType::kI32Load8U: case LoadType::kI32Load8U:
...@@ -260,8 +259,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, ...@@ -260,8 +259,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
if (emit_debug_code() && offset_reg != no_reg) { if (emit_debug_code() && offset_reg != no_reg) {
AssertZeroExtended(offset_reg); AssertZeroExtended(offset_reg);
} }
Operand dst_op = Operand dst_op = liftoff::GetMemOp(this, dst_addr, offset_reg, offset_imm);
liftoff::GetMemOp(this, dst_addr, offset_reg, offset_imm, pinned);
if (protected_store_pc) *protected_store_pc = pc_offset(); if (protected_store_pc) *protected_store_pc = pc_offset();
switch (type.value()) { switch (type.value()) {
case StoreType::kI32Store8: case StoreType::kI32Store8:
......
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