summarylogtreecommitdiffstats
path: root/fix_jit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix_jit.patch')
-rw-r--r--fix_jit.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/fix_jit.patch b/fix_jit.patch
new file mode 100644
index 000000000000..3b8f4449e074
--- /dev/null
+++ b/fix_jit.patch
@@ -0,0 +1,15 @@
+--- src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h 2015-05-07 17:14:48.000000000 +0300
++++ src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h 2022-01-27 15:20:41.602507128 +0300
+@@ -314,11 +314,11 @@
+ EncodedJSValue JIT_STUB cti_op_throw(STUB_ARGS_DECLARATION);
+ EncodedJSValue JIT_STUB cti_op_to_jsnumber(STUB_ARGS_DECLARATION);
+ EncodedJSValue JIT_STUB cti_op_to_primitive(STUB_ARGS_DECLARATION);
+ EncodedJSValue JIT_STUB cti_op_typeof(STUB_ARGS_DECLARATION);
+ EncodedJSValue JIT_STUB cti_op_urshift(STUB_ARGS_DECLARATION);
+- EncodedJSValue JIT_STUB cti_vm_throw(STUB_ARGS_DECLARATION);
++ __attribute__((used)) EncodedJSValue JIT_STUB cti_vm_throw(STUB_ARGS_DECLARATION);
+ EncodedJSValue JIT_STUB cti_to_object(STUB_ARGS_DECLARATION);
+ JSObject* JIT_STUB cti_op_construct_JSConstruct(STUB_ARGS_DECLARATION);
+ JSObject* JIT_STUB cti_op_new_array(STUB_ARGS_DECLARATION);
+ JSObject* JIT_STUB cti_op_new_error(STUB_ARGS_DECLARATION);
+ JSObject* JIT_STUB cti_op_new_func(STUB_ARGS_DECLARATION);