diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-20 10:57:40 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-20 22:05:27 +0900 |
commit | f55212bce939f736559709a8cd16c409772389c8 (patch) | |
tree | 93e8bd23eb1317ccbc16faf685fb9a4138470f29 /yjit/src/cruby.rs | |
parent | 1e66d3b8532539a53cf97bcca477d0a8b4b426bc (diff) | |
download | ruby-f55212bce939f736559709a8cd16c409772389c8.tar.gz |
Move "special consts" so `Qundef` and `Qnil` differ just 1 bit
Diffstat (limited to 'yjit/src/cruby.rs')
-rw-r--r-- | yjit/src/cruby.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit/src/cruby.rs b/yjit/src/cruby.rs index d3e4ba4757..81db0deab3 100644 --- a/yjit/src/cruby.rs +++ b/yjit/src/cruby.rs @@ -597,11 +597,11 @@ where #[allow(non_upper_case_globals)] pub const Qfalse: VALUE = VALUE(0); #[allow(non_upper_case_globals)] -pub const Qnil: VALUE = VALUE(8); +pub const Qnil: VALUE = VALUE(4); #[allow(non_upper_case_globals)] pub const Qtrue: VALUE = VALUE(20); #[allow(non_upper_case_globals)] -pub const Qundef: VALUE = VALUE(52); +pub const Qundef: VALUE = VALUE(0x24); #[allow(unused)] mod manual_defs { |