diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-17 17:55:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-17 17:55:24 -0800 |
| commit | ab4379e086d69b13f4446bb0bddd87844650ea1a (patch) | |
| tree | 9c51f055a309f0b13e904940abb6c7953eb4d5f4 /test/ruby | |
| parent | d8202a52a5fedd2209248b030ea6c41382f5f3e2 (diff) | |
Refactor RB_SPECIAL_CONST_P (#6759)
Since https://github.com/ruby/ruby/pull/6599, RUBY_IMMEDIATE_MASK also
overlaps RUBY_Qnil. Now RB_SPECIAL_CONST_P seems confusing since both
RB_IMMEDIATE_P and RB_TEST check for RUBY_Qnil while we only need to
check RUBY_Qnil besides RUBY_IMMEDIATE_MASK. I'd like to make this
change to make it less confusing.
I confirmed that this doesn't change the number of instructions used for
the RUBY_Qfalse check on Linux x86_64 GCC and macOS arm64 Clang.
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
