mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
ZJIT: Prohibit ZJIT support with USE_FLONUM=0 (#15471)
This commit is contained in:
parent
238e69d125
commit
ec862b41dc
Notes:
git
2025-12-10 05:18:31 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
2
.github/workflows/compilers.yml
vendored
2
.github/workflows/compilers.yml
vendored
@ -244,7 +244,7 @@ jobs:
|
||||
- { uses: './.github/actions/compilers', name: 'RGENGC_CHECK_MODE', with: { cppflags: '-DRGENGC_CHECK_MODE' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'VM_CHECK_MODE', with: { cppflags: '-DVM_CHECK_MODE' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'USE_EMBED_CI=0', with: { cppflags: '-DUSE_EMBED_CI=0' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'USE_FLONUM=0', with: { cppflags: '-DUSE_FLONUM=0', append_configure: '--disable-yjit' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'USE_FLONUM=0', with: { cppflags: '-DUSE_FLONUM=0', append_configure: '--disable-yjit --disable-zjit' }, timeout-minutes: 5 }
|
||||
|
||||
compileX:
|
||||
name: 'omnibus compilations, #10'
|
||||
|
||||
4
zjit.c
4
zjit.c
@ -31,6 +31,10 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
// This build config impacts the pointer tagging scheme and we only want to
|
||||
// support one scheme for simplicity.
|
||||
STATIC_ASSERT(pointer_tagging_scheme, USE_FLONUM);
|
||||
|
||||
enum zjit_struct_offsets {
|
||||
ISEQ_BODY_OFFSET_PARAM = offsetof(struct rb_iseq_constant_body, param)
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user