Commit 13e95258 authored by Junliang Yan's avatar Junliang Yan Committed by V8 LUCI CQ

ppc: remove StoreTaggedFieldX

Change-Id: Ide62ce4c8ac13e6ae8e417bbe06a28c3772be785
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2953040Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#75083}
parent f1acce32
......@@ -513,18 +513,6 @@ void TurboAssembler::SmiUntag(Register dst, const MemOperand& src, RCBit rc,
SmiUntag(dst, rc);
}
void TurboAssembler::StoreTaggedFieldX(const Register& value,
const MemOperand& dst_field_operand,
const Register& scratch) {
if (COMPRESS_POINTERS_BOOL) {
RecordComment("[ StoreTagged");
stwx(value, dst_field_operand);
RecordComment("]");
} else {
StoreU64(value, dst_field_operand);
}
}
void TurboAssembler::StoreTaggedField(const Register& value,
const MemOperand& dst_field_operand,
const Register& scratch) {
......
......@@ -666,9 +666,6 @@ class V8_EXPORT_PRIVATE TurboAssembler : public TurboAssemblerBase {
void StoreTaggedField(const Register& value,
const MemOperand& dst_field_operand,
const Register& scratch = no_reg);
void StoreTaggedFieldX(const Register& value,
const MemOperand& dst_field_operand,
const Register& scratch = no_reg);
void DecompressTaggedSigned(Register destination, MemOperand field_operand);
void DecompressTaggedSigned(Register destination, Register src);
......
......@@ -1236,7 +1236,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
ool = zone()->New<OutOfLineRecordWrite>(
this, object, offset, value, scratch0, scratch1, mode,
DetermineStubCallMode(), &unwinding_info_writer_);
__ StoreTaggedFieldX(value, MemOperand(object, offset), r0);
__ StoreTaggedField(value, MemOperand(object, offset), r0);
}
if (mode > RecordWriteMode::kValueIsPointer) {
__ JumpIfSmi(value, ool->exit());
......@@ -3824,7 +3824,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
break;
}
case kPPC_StoreCompressTagged: {
ASSEMBLE_STORE_INTEGER(StoreTaggedField, StoreTaggedFieldX);
ASSEMBLE_STORE_INTEGER(StoreTaggedField, StoreTaggedField);
break;
}
case kPPC_LoadDecompressTaggedSigned: {
......
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