aboutsummaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-14 04:06:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-14 04:06:15 +0000
commit9c19130e7f13d96f57ba1b681bf14cc682ee8bce (patch)
tree009aa2f20c9680f9d17e7d66378a5ad294c4742a /vm_eval.c
parent1b63495df2751f2accdf365dcfee7652d8aef656 (diff)
downloadruby-9c19130e7f13d96f57ba1b681bf14cc682ee8bce.tar.gz
complex.c: optimize
* complex.c (f_negative_p): use rb_num_negative_p instead of funcall. * complex.c (f_kind_of_p, f_numeric_p): cast down to int because rb_obj_is_kind_of is safe. * complex.c (f_signbit, f_tpositive_p): remove f_boolcast. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
0 files changed, 0 insertions, 0 deletions