aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * variable.c (autoload_data_type): typed.nobu2009-09-092-11/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_time_timeval, rb_time_timespec): typed.nobu2009-09-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_data_type): typed.nobu2009-09-092-14/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_data_type): typed.nobu2009-09-092-11/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thgroup_data_type, mutex_data_type, barrier_data_type):nobu2009-09-092-13/+52
| | | | | | | typed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (stat_data_type): typed.nobu2009-09-092-4/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (name_err_mesg_data_type): typed.nobu2009-09-092-12/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_data_type): typed.nobu2009-09-092-27/+60
| | | | | | | (yielder_data_type, generator_data_type): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_data_type): typed.nobu2009-09-092-13/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_memsize, fiber_memsize): constified.nobu2009-09-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_data_type_struct): constified dsize.nobu2009-09-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_data_type_struct): constified dsize.nobu2009-09-098-14/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_memsize): fixed wrong expression on IA64.nobu2009-09-092-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_restore_1, rb_cont_call): should be Fiber.nobu2009-09-092-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_data_type, fiber_data_type): typed.nobu2009-09-083-7/+66
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb, lib/tmpdir.rb (Tmpname): extracted new module.nobu2009-09-083-92/+84
| | | | | | | [ruby-dev:39197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_init_*table_with_size): use st_index_t.nobu2009-09-083-32/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_hash): must calculate hash.nobu2009-09-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/st.h (st_hash_func): use st_index_t.nobu2009-09-0821-79/+92
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_mark): use preprocessor.nobu2009-09-081-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_thread_mark): mark callers iseqs. [ruby-core:25474]nobu2009-09-082-0/+6
| | | | | | | [Bug #2062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: reverted.nobu2009-09-082-6/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: evaluates in the main context.nobu2009-09-082-1/+6
| | | | | | | [ruby-core:25474] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_mark): no need to mark inline cache entries.ko12009-09-083-11/+11
| | | | | | | | | * insns.def (onceinlinecache, setinlinecache): save a value to mark cached value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_{cfunc,ptr}.rb: added tests from Aaron Patterson.nobu2009-09-073-0/+82
| | | | | | | see [ruby-dev:39249]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (sdr, nsdr): nodoc.nobu2009-09-072-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_tell): adjustment for ungotten data.nobu2009-09-073-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_encname_bom_p): removed magic number.nobu2009-09-072-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): added rdocs for constants.nobu2009-09-071-8/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/inspector.rb (IRB::INSPECTORS.def_inspector): supportmatz2009-09-072-1/+13
| | | | | | | object without #inspect defined. a patch from Daniel Bovensiepen. [ruby-core:25200] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_*): add IC operands.ko12009-09-064-22/+44
| | | | | | | | | | | | | * vm_insnhelper.h (CALL_SIMPLE_METHOD): add a version which use an inline cache. USE_IC_FOR_SPECIALIZED_METHOD macro switchs the behaviour. This change also removes CALL_SIMPLE_METHOD_IC() macro. * tool/instruction.rb: fix elimination process to ignore variable "ic". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk: move a id.h generation rule.ko12009-09-063-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/driver.rb: remove RUBY_VERSION output.ko12009-09-062-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c: rename macro name ENABLE_IC_FOR_IVARko12009-09-062-4/+9
| | | | | | | | to USE_IC_FOR_IVAR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-09-07svn2009-09-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.escape): obsoleted.naruse2009-09-062-0/+8
| | | | | | * lib/uri/common.rb (URI,unescape): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.h (CALL_SIMPLE_METHOD_IC): make a macroko12009-09-063-4/+16
| | | | | | | | | invoke simple method with inline cache entry. * insns.def (opt_length, opt_size): fix to use inline method cache. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/id.h.tmpl: fix this.ko12009-09-063-170/+8
| | | | | | | | * id.h: removed. Because this file is generated automatically. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_specialized_instruction), insns.def (opt_size):ko12009-09-067-2/+50
| | | | | | | | | optimize #size methods (by specialized instruction). * id.c, id.h, vm.c, vm_insnhelper.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (setinstancevariable), vm_insnhelper.c (vm_setivar):ko12009-09-063-4/+55
| | | | | | | | fix to use inline cache (trivial optimization). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: fixed rdoc, a patch from Nobuhiro IMAI at [ruby-core:25433].nobu2009-09-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_next_argv): fixed indent.nobu2009-09-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-09-06svn2009-09-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: Add rdoc for ARGF.naruse2009-09-052-6/+648
| | | | | | contributed by Run Paint Run Run. [ruby-core:23854] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_quo, int_round): added rdoc.nobu2009-09-051-2/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): op_asgn to aref should return rhs.nobu2009-09-053-16/+56
| | | | | | | [ruby-core:25387] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (FIXNUM_OR): typo.nobu2009-09-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (FIXNUM_INC, FIXNUM_OR): trivial optimizations.nobu2009-09-051-10/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): &&= and ||= should return rhs.nobu2009-09-051-2/+8
| | | | | | | [ruby-dev:39163] (#1996), [ruby-core:25143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): &&= and ||= should return rhs.nobu2009-09-053-28/+64
| | | | | | | [ruby-dev:39163] (#1996), [ruby-core:25143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e