summaryrefslogtreecommitdiff
path: root/build-cacheFlush-missing.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2017-09-05 11:34:45 +0200
committerJan Horak <jhorak@redhat.com>2017-09-05 11:34:45 +0200
commitbee2fa8e84972e55c9bca1b62f690fe036cf24de (patch)
treefc4c9ec69cae7f5bbffff0760f4a4dd6a9571e2a /build-cacheFlush-missing.patch
parentAdded fix for s390x, fixing macroassembler-none.h (diff)
downloadlibrewolf-fedora-ff-bee2fa8e84972e55c9bca1b62f690fe036cf24de.tar.gz
librewolf-fedora-ff-bee2fa8e84972e55c9bca1b62f690fe036cf24de.tar.bz2
librewolf-fedora-ff-bee2fa8e84972e55c9bca1b62f690fe036cf24de.zip
Fix for missing cacheFlush when JS_CODEGE_NONE is used (s390)
Diffstat (limited to 'build-cacheFlush-missing.patch')
-rw-r--r--build-cacheFlush-missing.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/build-cacheFlush-missing.patch b/build-cacheFlush-missing.patch
new file mode 100644
index 0000000..51c368c
--- /dev/null
+++ b/build-cacheFlush-missing.patch
@@ -0,0 +1,13 @@
+diff -up firefox-55.0.3/js/src/jit/ExecutableAllocator.h.wasm firefox-55.0.3/js/src/jit/ExecutableAllocator.h
+--- firefox-55.0.3/js/src/jit/ExecutableAllocator.h.wasm 2017-09-05 11:32:12.235909468 +0200
++++ firefox-55.0.3/js/src/jit/ExecutableAllocator.h 2017-09-05 11:32:46.157916575 +0200
+@@ -219,7 +219,7 @@ class ExecutableAllocator
+
+ static void poisonCode(JSRuntime* rt, JitPoisonRangeVector& ranges);
+
+-#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64)
++#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64) || defined(JS_CODEGEN_NONE)
+ static void cacheFlush(void*, size_t)
+ {
+ }
+diff -up firefox-55.0.3/js/src/jit-test/tests/wasm/bench/wasm_box2d.wasm firefox-55.0.3/js/src/jit-test/tests/wasm/bench/wasm_box2d
bgstack15