summaryrefslogtreecommitdiff
path: root/lang/ruby/3.2/patches/patch-compile_c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby/3.2/patches/patch-compile_c')
-rw-r--r--lang/ruby/3.2/patches/patch-compile_c17
1 files changed, 0 insertions, 17 deletions
diff --git a/lang/ruby/3.2/patches/patch-compile_c b/lang/ruby/3.2/patches/patch-compile_c
deleted file mode 100644
index 2b6833d..0000000
--- a/lang/ruby/3.2/patches/patch-compile_c
+++ /dev/null
@@ -1,17 +0,0 @@
1Disable peephole optimizer on mips64 and sparc64, since it occasionally
2segfaults.
3
4Index: compile.c
5--- compile.c.orig
6+++ compile.c
7@@ -2994,6 +2994,10 @@ static int
8 iseq_peephole_optimize(rb_iseq_t *iseq, LINK_ELEMENT *list, const int do_tailcallopt)
9 {
10 INSN *const iobj = (INSN *)list;
11+#if defined(__mips64__) || defined(__sparc64__)
12+ return COMPILE_OK;
13+#endif
14+
15
16 again:
17 optimize_checktype(iseq, iobj);