[loong64][mips][compiler] Always use full version of RecordWrite builtin
Port commit 1b437aa87d
Bug: v8:11708
Change-Id: I717ef7a7cb270580c14114d19f976f999f095185
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3482489
Auto-Submit: Yu Liu <liuyu@loongson.cn>
Reviewed-by: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/main@{#79219}
This commit is contained in:
parent
d9c8bdcdd7
commit
c832c6b13b
@ -164,8 +164,10 @@ class OutOfLineRecordWrite final : public OutOfLineCode {
|
||||
__ CheckPageFlag(value_, MemoryChunk::kPointersToHereAreInterestingMask, eq,
|
||||
exit());
|
||||
RememberedSetAction const remembered_set_action =
|
||||
mode_ > RecordWriteMode::kValueIsMap ? RememberedSetAction::kEmit
|
||||
: RememberedSetAction::kOmit;
|
||||
mode_ > RecordWriteMode::kValueIsMap ||
|
||||
FLAG_use_full_record_write_builtin
|
||||
? RememberedSetAction::kEmit
|
||||
: RememberedSetAction::kOmit;
|
||||
SaveFPRegsMode const save_fp_mode = frame()->DidAllocateDoubleRegisters()
|
||||
? SaveFPRegsMode::kSave
|
||||
: SaveFPRegsMode::kIgnore;
|
||||
|
@ -167,8 +167,10 @@ class OutOfLineRecordWrite final : public OutOfLineCode {
|
||||
exit());
|
||||
__ Addu(scratch1_, object_, index_);
|
||||
RememberedSetAction const remembered_set_action =
|
||||
mode_ > RecordWriteMode::kValueIsMap ? RememberedSetAction::kEmit
|
||||
: RememberedSetAction::kOmit;
|
||||
mode_ > RecordWriteMode::kValueIsMap ||
|
||||
FLAG_use_full_record_write_builtin
|
||||
? RememberedSetAction::kEmit
|
||||
: RememberedSetAction::kOmit;
|
||||
SaveFPRegsMode const save_fp_mode = frame()->DidAllocateDoubleRegisters()
|
||||
? SaveFPRegsMode::kSave
|
||||
: SaveFPRegsMode::kIgnore;
|
||||
|
@ -169,8 +169,10 @@ class OutOfLineRecordWrite final : public OutOfLineCode {
|
||||
exit());
|
||||
__ Daddu(scratch1_, object_, index_);
|
||||
RememberedSetAction const remembered_set_action =
|
||||
mode_ > RecordWriteMode::kValueIsMap ? RememberedSetAction::kEmit
|
||||
: RememberedSetAction::kOmit;
|
||||
mode_ > RecordWriteMode::kValueIsMap ||
|
||||
FLAG_use_full_record_write_builtin
|
||||
? RememberedSetAction::kEmit
|
||||
: RememberedSetAction::kOmit;
|
||||
SaveFPRegsMode const save_fp_mode = frame()->DidAllocateDoubleRegisters()
|
||||
? SaveFPRegsMode::kSave
|
||||
: SaveFPRegsMode::kIgnore;
|
||||
|
Loading…
Reference in New Issue
Block a user