summarylogtreecommitdiffstats
path: root/fix_jit.patch
blob: 3b8f4449e0742e77405a9250dc4d4b8bee5b2ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);