[Webkit-unassigned] [Bug 252758] B3Validate.cpp:455:43: error: ‘toB3Type’ was not declared in this scope
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 1 02:21:40 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=252758
Heinrich Schuchardt <xypron.glpk at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xypron.glpk at gmx.de
--- Comment #5 from Heinrich Schuchardt <xypron.glpk at gmx.de> ---
With
+#include "WasmTypeDefinition.h"
we get the original error
‘toB3Type’ was not declared in this scope
toB3Type is defined in Source/JavaScriptCore/wasm/WasmTypeDefinition.h only if WEBASSEMBLY_B3JIT is enabled.
Hence I looked at Source/WTF/wtf/PlatformEnable.h which controls if ENABLE_WEBASSEMBLY_B3JIT is enabled. But the following leads to a new error (Unhandled opcode storev at WebAssembly.asm:512):
--- a/Source/WTF/wtf/PlatformEnable.h
+++ b/Source/WTF/wtf/PlatformEnable.h
@@ -713,7 +713,7 @@
#define ENABLE_B3_JIT 1
#endif
·
-#if ENABLE(WEBASSEMBLY) && ENABLE(JIT) && CPU(ARM)
+#if ENABLE(WEBASSEMBLY) && ENABLE(JIT) && (CPU(ARM) || CPU(RISCV64))
#undef ENABLE_B3_JIT
Is WEBASSEMBLY already supported for riscv64? Or should we disable it via a CMake command line argument?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230301/7ab277b9/attachment.htm>
More information about the webkit-unassigned
mailing list