Commit ccc3138e authored by Lu Yahan's avatar Lu Yahan Committed by V8 LUCI CQ

[riscv] Fix wasm/externref-globals-liftoff failed

Change-Id: I4671a704fc76063a64ed90c337770ec17fe8e393
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3815778
Commit-Queue: Yahan Lu <yahan@iscas.ac.cn>
Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn>
Cr-Commit-Position: refs/heads/main@{#82281}
parent f7c20bae
......@@ -221,13 +221,13 @@ void LiftoffAssembler::StoreTaggedPointer(Register dst_addr,
Label write_barrier;
Label exit;
CheckPageFlag(dst_addr, scratch,
CheckPageFlag(dst_addr, kScratchReg,
MemoryChunk::kPointersFromHereAreInterestingMask, ne,
&write_barrier);
Branch(&exit);
bind(&write_barrier);
JumpIfSmi(src.gp(), &exit);
CheckPageFlag(src.gp(), scratch,
CheckPageFlag(src.gp(), kScratchReg,
MemoryChunk::kPointersToHereAreInterestingMask, eq, &exit);
AddWord(scratch, dst_op.rm(), dst_op.offset());
CallRecordWriteStubSaveRegisters(dst_addr, scratch, SaveFPRegsMode::kSave,
......
......@@ -926,8 +926,6 @@
'wasm/generic-wrapper':[SKIP],
'wasm/many-parameters':[SKIP],
'wasm/compare-exchange64-stress':[SKIP],
'wasm/externref-globals-liftoff':['variant == stress_incremental_marking', SKIP],
'wasm/stringrefs-js':['variant == stress_incremental_marking', SKIP],
}], # 'arch == riscv32'
##############################################################################
......
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