diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-21 16:59:55 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-21 16:59:55 +0900 |
commit | 5b287481befe03cc3e3dbc4b5571e21dbc523bae (patch) | |
tree | 853e859aa58ac31d7df6df3a55c9aaf5d2fdf9e7 /array.c | |
parent | 6f0446785b537994bceb9fc8574cdaa9b59cbef6 (diff) | |
download | ruby-5b287481befe03cc3e3dbc4b5571e21dbc523bae.tar.gz |
Removed non-RUBY_INTEGER_UNIFICATION code
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2760,7 +2760,7 @@ sort_2(const void *ap, const void *bp, void *dummy) VALUE a = *(const VALUE *)ap, b = *(const VALUE *)bp; int n; - if (FIXNUM_P(a) && FIXNUM_P(b) && CMP_OPTIMIZABLE(data->cmp_opt, Fixnum)) { + if (FIXNUM_P(a) && FIXNUM_P(b) && CMP_OPTIMIZABLE(data->cmp_opt, Integer)) { if ((long)a > (long)b) return 1; if ((long)a < (long)b) return -1; return 0; |