So ENABLE_FTL_DEFAULT is on in riscv64, that enables WEBASSEMBLY_B3JIT, which is what results in WasmB3IRGenerator.cpp being built.
However supportsCountPopulation() is not defined in Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h
I don't know what's the best way to proceed here, but I suppose that disabling FTL in riscv64 would work around the problem.
So ENABLE_FTL_DEFAULT is on in riscv64, that enables WEBASSEMBLY_B3JIT, which is what results in WasmB3IRGenerat or.cpp being built.
However supportsCountPo pulation( ) is not defined in Source/ JavaScriptCore/ assembler/ MacroAssemblerR ISCV64. h
I don't know what's the best way to proceed here, but I suppose that disabling FTL in riscv64 would work around the problem.