summaryrefslogtreecommitdiffstats
path: root/libs/wpewebkit/patches/144-JavaScriptCore-IPInt-asm-RISCV64-reloadMemory.patch
blob: 3a483518490e49393252689557838c6bd5b2e360 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Source/JavaScriptCore/llint/InPlaceInterpreter.asm
+++ b/Source/JavaScriptCore/llint/InPlaceInterpreter.asm
@@ -328,7 +328,7 @@ end
 macro ipintReloadMemory()
     if ARM64 or ARM64E
         loadpairq JSWebAssemblyInstance::m_cachedMemory[wasmInstance], memoryBase, boundsCheckingSize
-    elsif X86_64
+    elsif X86_64 or RISCV64
         loadp JSWebAssemblyInstance::m_cachedMemory[wasmInstance], memoryBase
         loadp JSWebAssemblyInstance::m_cachedBoundsCheckingSize[wasmInstance], boundsCheckingSize
     end