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 23dc0dbc4a * vm.c (VM_COLLECT_USAGE_DETAILS): make new VM usage analysis
hooks (old macro name is COLLECT_USAGE_ANALYSIS).
  This feature is only for VM developers.  (I'm not sure I can use
  `VM developers' (the plural form) in this sentence).
  If VM_COLLECT_USAGE_DETAILS is not 0, VM enables the following
  usage collection features:
  (1) insntruction: collect intruction usages.
  (2) operand: collect operand usages.
  (3) register: collect register usages.
  The results are stored in
  RubyVM::USAGE_ANALYSIS_INSN for (1, 2),
  RubyVM::USAGE_ANALYSIS_INSN_BIGRAM for (1) and
  RubyVM::USAGE_ANALYSIS_REGS for (3).
  You can stop collecting usages with
  RubyVM::USAGE_ANALYSIS_INSN_STOP(),
  RubyVM::USAGE_ANALYSIS_OPERAND_STOP(),
  RubyVM::USAGE_ANALYSIS_REGISTER_STOP()
  for (1), (2), (3) respectively.
  You can also change the hook functions by setting
  C level global variables
  `ruby_vm_collect_usage_func_(insn|operand|register)'
  for (1), (2), (3) respectively.
  See codes for more details.
* tool/instruction.rb: fix macro names.
* iseq.c (insn_operand_intern): make it export (used in vm.c).
  fix to skip several processes if not needed (pointer is 0).
* vm_dump.c: move codes for collection features to vm.c.
* vm_exec.h: rename macro and function names.
* vm_insnhelper.h: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-04 12:31:05 +00:00
..
test
asm_parse.rb
build-transcode
change_maker.rb * tool/change_maker.rb: Update svn detection for subversion 1.7's 2012-09-16 08:47:53 +00:00
compile_prelude.rb Suppress warnings. 2012-07-25 06:49:35 +00:00
config.guess Updated these files to detect AIX 7. 2012-01-29 13:50:18 +00:00
config.sub Updated these files to detect AIX 7. 2012-01-29 13:50:18 +00:00
enc-emoji-citrus-gen.rb
enc-emoji4unicode.rb
enc-unicode.rb * Makefile.in: don't remove macros. now name2ctype uses macros. 2012-06-13 17:54:14 +00:00
eval.rb
file2lastrev.rb * tool/file2lastrev.rb (VCS::detect): Add support for Subversion 2012-01-02 13:14:24 +00:00
generic_erb.rb generic_erb.rb: --vpath option 2012-08-25 07:20:29 +00:00
id2token.rb id.h: independent from parse.h 2012-08-31 05:31:20 +00:00
ifchange
insns2vm.rb
install-sh
instruction.rb * vm.c (VM_COLLECT_USAGE_DETAILS): make new VM usage analysis 2012-10-04 12:31:05 +00:00
jisx0208.rb
make-snapshot tool/make-snapshot MKDIR_P 2012-06-14 15:14:05 +00:00
mdoc2man.rb
merger.rb * tool/merger.rb: add --ticket option to add ticket number. 2012-09-24 02:23:48 +00:00
mkconfig.rb obsolete Config 2012-07-06 03:27:10 +00:00
mkrunnable.rb mkrunnable.rb: config directory names 2012-08-29 05:59:07 +00:00
node_name.rb
parse.rb
rbinstall.rb rbinstall.rb: skip symlinks 2012-09-04 01:40:11 +00:00
rmdirs
rubytest.rb common test options 2012-05-30 01:24:05 +00:00
runruby.rb [Bug #6598] 2012-06-15 22:12:58 +00:00
strip-rdoc.rb
transcode-tblgen.rb * enc/euc_jp.c: added EUC-JP-2004 and its alias EUC-JISX0213. 2012-04-24 11:14:18 +00:00
update-deps
vtlh.rb
ytab.sed * tool/ytab.sed: fix for Bison 2.6. 2012-07-25 04:12:44 +00:00