mirror of
https://github.com/openwrt/video.git
synced 2026-05-31 06:51:54 +08:00
df0b899123
Update WPEWebKit to the 2.52 stable major release branch. Includes a pending patchset to get WASM BBQJIT working on RISCV64, upstream PR https://github.com/WebKit/WebKit/pull/65621 Alltogether this brings acceptable performance (even with LLVMPipe Mesa software renderer) on RISCV64. Link: https://wpewebkit.org/release/wpewebkit-2.52.0.html Link: https://wpewebkit.org/release/wpewebkit-2.52.1.html Link: https://wpewebkit.org/release/wpewebkit-2.52.2.html Link: https://wpewebkit.org/release/wpewebkit-2.52.3.html Signed-off-by: Daniel Golle <daniel@makrotopia.org>
33 lines
953 B
Diff
33 lines
953 B
Diff
--- a/Source/JavaScriptCore/wasm/WasmBBQJIT.cpp
|
|
+++ b/Source/JavaScriptCore/wasm/WasmBBQJIT.cpp
|
|
@@ -735,6 +735,9 @@ BBQJIT::BBQJIT(CompilationContext& compi
|
|
|
|
bool BBQJIT::canTierUpToOMG() const
|
|
{
|
|
+#if !ENABLE(WEBASSEMBLY_OMGJIT)
|
|
+ return false;
|
|
+#else
|
|
if (!Options::useOMGJIT())
|
|
return false;
|
|
|
|
@@ -746,6 +749,7 @@ bool BBQJIT::canTierUpToOMG() const
|
|
return false;
|
|
}
|
|
return true;
|
|
+#endif
|
|
}
|
|
|
|
void BBQJIT::emitIncrementCallProfileCount(unsigned callProfileIndex)
|
|
@@ -3126,7 +3130,10 @@ void BBQJIT::emitEntryTierUpCheck()
|
|
jit.jump(tierUpResume);
|
|
});
|
|
#else
|
|
- RELEASE_ASSERT_NOT_REACHED();
|
|
+ // OMG/FTL tiering is unavailable on this architecture; canTierUpToOMG()
|
|
+ // can still return true (it is gated only on per-function thresholds, not
|
|
+ // on the OMG implementation being compiled in), so silently skip emitting
|
|
+ // the tier-up counter check rather than aborting.
|
|
#endif
|
|
}
|
|
|