diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-06-20 14:55:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-20 14:55:09 -0700 |
commit | 95b0fed3714b87dcb40a16f33d9e3160f9945e38 (patch) | |
tree | 100cb67619729fa2b5c306a138599eef6fb11377 /inits.c | |
parent | b68ddcf30ce1dc2788d3bd3d10169726feada1f2 (diff) |
Make Integer#zero? a separated method and builtin (#3226)
A prerequisite to fix https://bugs.ruby-lang.org/issues/15589 with JIT.
This commit alone doesn't make a significant difference yet, but I thought
this commit should be committed independently.
This method override was discussed in [Misc #16961].
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'inits.c')
-rw-r--r-- | inits.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -82,6 +82,7 @@ rb_call_builtin_inits(void) { #define BUILTIN(n) CALL(builtin_##n) BUILTIN(gc); + BUILTIN(integer); BUILTIN(io); BUILTIN(dir); BUILTIN(ast); |