aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-lwt/result_lseek_noinline.patch
blob: 2e2fd1552de0c1dbb63e23f5011503fa98989681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/unix/unix_c/unix_lseek_job.c
+++ b/src/unix/unix_c/unix_lseek_job.c
@@ -92,7 +92,7 @@
 }
 
 /* The function building the caml result. */
-static value result_lseek(struct job_lseek* job)
+__attribute__((noinline)) static value result_lseek(struct job_lseek* job)
 {
   value result;
   /* Check for errors. */
@@ -113,7 +113,7 @@
 }
 
 /* The function building the caml result. */
-static value result_lseek_64(struct job_lseek* job)
+__attribute__((noinline))  static value result_lseek_64(struct job_lseek* job)
 {
   value result;
   /* Check for errors. */