diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-08-19 15:14:03 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-08-19 15:54:12 -0400 |
| commit | 6b197dec4844eb5967158c16495724cac7eecab2 (patch) | |
| tree | e9027d2d2099b3daec073749a4461123ce0b849f /range.c | |
| parent | e639aaacbf7e8b48ee1a3bb73615a4792de6ec5d (diff) | |
ZJIT: Mark Insn::NewRange as having side effects
Diffstat (limited to 'range.c')
| -rw-r--r-- | range.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ static VALUE r_cover_p(VALUE, VALUE, VALUE, VALUE); static void range_init(VALUE range, VALUE beg, VALUE end, VALUE exclude_end) { + // Changing this condition has implications for JITs. If you do, please let maintainers know. if ((!FIXNUM_P(beg) || !FIXNUM_P(end)) && !NIL_P(beg) && !NIL_P(end)) { VALUE v; |
