Skip to content

Commit 1a21607

Browse files
Make it opt-in
1 parent fda19f4 commit 1a21607

File tree

2 files changed

+0
-63
lines changed

2 files changed

+0
-63
lines changed

configure

Lines changed: 0 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7040,31 +7040,6 @@ fi
70407040
],
70417041
[AC_MSG_RESULT([no value specified])])
70427042

7043-
7044-
AC_CACHE_CHECK([whether $CC supports efficient proper tail calls], [ac_cv_tail_call],
7045-
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[[
7046-
7047-
#if __has_attribute(musttail)
7048-
# if __has_attribute(preserve_none)
7049-
// Only allowlist x86_64 and AArch64. Add more architectures as compilers gain support for them.
7050-
# if defined(__x86_64__) || defined(__aarch64__)
7051-
# define PROPER_TAIL_CALLS 1
7052-
# endif
7053-
# endif
7054-
#endif
7055-
7056-
#ifndef PROPER_TAIL_CALLS
7057-
# error "No proper tail calls"
7058-
#endif
7059-
7060-
]]])],
7061-
[ac_cv_tail_call=yes],
7062-
[ac_cv_tail_call=no],
7063-
[if test "${with_tail_call_interp+set}" = set; then
7064-
ac_cv_tail_call="$with_tail_call_interp -- configured --with(out)-tail-call-interp"
7065-
else
7066-
ac_cv_tail_call=no
7067-
fi]))
70687043
# Do not enable tail-calling interpreter if tier 2 is enabled.
70697044
AS_VAR_IF(
70707045
[tier2_flags],

0 commit comments

Comments
 (0)