mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix MJIT link error
This commit is contained in:
parent
4506f6119a
commit
802bcd3ec8
Notes:
git
2020-07-13 08:56:51 +09:00
2 changed files with 3 additions and 2 deletions
|
@ -75,7 +75,6 @@ VALUE rb_int_divmod(VALUE x, VALUE y);
|
|||
VALUE rb_int_and(VALUE x, VALUE y);
|
||||
VALUE rb_int_lshift(VALUE x, VALUE y);
|
||||
VALUE rb_int_div(VALUE x, VALUE y);
|
||||
VALUE rb_int_odd_p(VALUE num);
|
||||
int rb_int_positive_p(VALUE num);
|
||||
int rb_int_negative_p(VALUE num);
|
||||
VALUE rb_num_pow(VALUE x, VALUE y);
|
||||
|
@ -108,7 +107,9 @@ VALUE rb_float_eql(VALUE x, VALUE y);
|
|||
VALUE rb_fix_aref(VALUE fix, VALUE idx);
|
||||
VALUE rb_int_zero_p(VALUE num);
|
||||
VALUE rb_int_even_p(VALUE num);
|
||||
VALUE rb_int_odd_p(VALUE num);
|
||||
VALUE rb_int_abs(VALUE num);
|
||||
VALUE rb_int_bit_length(VALUE num);
|
||||
MJIT_SYMBOL_EXPORT_END
|
||||
|
||||
static inline bool
|
||||
|
|
|
@ -4931,7 +4931,7 @@ rb_fix_bit_length(VALUE fix)
|
|||
return LONG2FIX(bit_length(v));
|
||||
}
|
||||
|
||||
static VALUE
|
||||
VALUE
|
||||
rb_int_bit_length(VALUE num)
|
||||
{
|
||||
if (FIXNUM_P(num)) {
|
||||
|
|
Loading…
Reference in a new issue