1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool
ko1 d5ec9ec308 * vm_core.h: split rb_call_info_t into several structs.
* rb_call_info (ci) has compiled fixed information.
  * if ci->flag & VM_CALL_KWARG, then rb_call_info is
    also rb_call_info_with_kwarg. This technique reduce one word
    for major rb_call_info data.
  * rb_calling_info has temporary data (argc, blockptr, recv).
    for each method dispatch. This data is allocated only on
    machine stack.
  * rb_call_cache is for inline method cache.
  Before this patch, only rb_call_info_t data is passed.
  After this patch, above three structs are passed.
  This patch improves:
  * data locarity (rb_call_info is now read-only data).
  * reduce memory consumption (rb_call_info_with_kwarg,
    rb_calling_info).
* compile.c: use above data.
* insns.def: ditto.
* iseq.c: ditto.
* vm_args.c: ditto.
* vm_eval.c: ditto.
* vm_insnhelper.c: ditto.
* vm_insnhelper.h: ditto.
* iseq.h: add iseq_compile_data::ci_index and
  iseq_compile_data::ci_kw_indx.
* tool/instruction.rb: introduce TS_CALLCACHE operand type.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19 17:59:58 +00:00
..
test
asm_parse.rb
bisect.sh * benchmark/bm_so_meteor_contest.rb: fix a typo. 2015-04-20 03:45:35 +00:00
build-transcode
change_maker.rb
checksum.rb checksum.rb: check the target 2015-05-07 07:09:43 +00:00
downloader.rb fix a typo [ci skip] 2015-04-06 15:00:00 +00:00
enc-emoji-citrus-gen.rb
enc-emoji4unicode.rb
enc-unicode.rb
eval.rb
expand-config.rb * tool/expand-config.rb: typo, too. 2015-04-20 12:44:08 +00:00
extlibs.rb extlibs.rb: patch options 2015-09-09 04:38:58 +00:00
fake.rb fake.rb: optimal paths 2015-09-05 12:29:29 +00:00
file2lastrev.rb file2lastrev.rb: format for modified 2015-05-23 09:36:22 +00:00
gem-unpack.rb suppress alert warnings 2015-01-17 06:55:20 +00:00
gen_dummy_probes.rb
gen_ruby_tapset.rb
generic_erb.rb generic_erb.rb: read in binary mode 2014-11-27 03:42:54 +00:00
id2token.rb
ifchange
insns2vm.rb
install-sh
instruction.rb * vm_core.h: split rb_call_info_t into several structs. 2015-09-19 17:59:58 +00:00
jisx0208.rb
make-snapshot make-snapshot: override rest variables 2015-03-25 07:44:58 +00:00
make_hgraph.rb * tool/make_hgraph.rb: added. 2015-05-29 08:39:50 +00:00
mdoc2man.rb
merger.rb * tool/merger.rb (versionup): should also increment revision when 2015-04-14 07:05:30 +00:00
mkconfig.rb rbconfig.rb: use program version 2015-04-02 07:27:12 +00:00
mkrunnable.rb mkrunnable.rb: try mklink 2015-02-24 04:59:03 +00:00
node_name.rb
parse.rb
probes_to_wiki.rb
rbinstall.rb compressed mantypes 2015-07-10 12:49:55 +00:00
rbuninstall.rb
redmine-backporter.rb * tool/redmine-backporter.rb (rel): after the relations is changed, 2015-05-25 13:38:00 +00:00
release.sh add .tar.xz 2014-09-18 01:30:09 +00:00
rmdirs
rubytest.rb
runruby.rb runruby.rb: don't close other fds 2015-06-21 10:52:41 +00:00
strip-rdoc.rb
transcode-tblgen.rb
update-deps show pathname of failed file. 2015-06-14 13:35:05 +00:00
vcs.rb common.mk: update-man-date 2015-05-23 09:36:33 +00:00
vpath.rb prelude.c.tmpl: strip prefix 2014-11-19 01:08:00 +00:00
vtlh.rb
ytab.sed