diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-15 04:18:43 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-15 04:18:43 +0000 |
commit | 9cdd62bd19f7872bab25912ed0485c098ea141d2 (patch) | |
tree | c92f41c2156b7be19270918bdd9e27eff8a90960 /ChangeLog | |
parent | d020fb15254c13e458bb9603479edbb7b3fb347f (diff) | |
download | ruby-9cdd62bd19f7872bab25912ed0485c098ea141d2.tar.gz |
* include/ruby/ruby.h: get rid of gcc specific rb_long2int(),
NUM2LONG(), NUM2INT(), NUM2SHORT(), NUM2LL(), INT2NUM(),
UINT2NUM(), LONG2NUM(), ULONG2NUM() and NUM2CHR()
implementation. Because 1) They don't make any better code
at all. 2) Inline function have a better debugger supoort.
3) If they become to make better code in the future, they
might make cross compiler ABI compatibility issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Tue Nov 15 13:11:35 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * include/ruby/ruby.h: get rid of gcc specific rb_long2int(), + NUM2LONG(), NUM2INT(), NUM2SHORT(), NUM2LL(), INT2NUM(), + UINT2NUM(), LONG2NUM(), ULONG2NUM() and NUM2CHR() + implementation. Because 1) They don't make any better code + at all. 2) Inline function have a better debugger supoort. + 3) If they become to make better code in the future, they + might make cross compiler ABI compatibility issue. + Tue Nov 15 09:58:25 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * test/ruby/test_io.rb (TestIO#test_fcntl_dupfd): fix OpenBSD test |