ruby-changes:42405
From: ko1 <ko1@a...>
Date: Mon, 4 Apr 2016 15:46:15 +0900 (JST)
Subject: [ruby-changes:42405] ko1:r54479 (trunk): * vm.c (Init_VM): should pass tokens.
ko1 2016-04-04 16:42:51 +0900 (Mon, 04 Apr 2016) New Revision: 54479 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54479 Log: * vm.c (Init_VM): should pass tokens. Modified files: trunk/ChangeLog trunk/vm.c Index: ChangeLog =================================================================== --- ChangeLog (revision 54478) +++ ChangeLog (revision 54479) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Apr 4 16:41:32 2016 Koichi Sasada <ko1@a...> + + * vm.c (Init_VM): should pass tokens. + Sun Apr 3 09:34:29 2016 Nobuyoshi Nakada <nobu@r...> * numeric.c (flodivmod): round division if it is a finite number Index: vm.c =================================================================== --- vm.c (revision 54478) +++ vm.c (revision 54479) @@ -2852,10 +2852,10 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L2852 #if VM_COLLECT_USAGE_DETAILS /* ::RubyVM::USAGE_ANALYSIS_* */ #define define_usage_analysis_hash(name) /* shut up rdoc -C */ \ - rb_define_const(rb_cRubyVM, "USAGE_ANALYSIS_"#name, rb_hash_new()) - define_usage_analysis_hash("INSN"); - define_usage_analysis_hash("REGS"); - define_usage_analysis_hash("INSN_BIGRAM"); + rb_define_const(rb_cRubyVM, "USAGE_ANALYSIS_" #name, rb_hash_new()) + define_usage_analysis_hash(INSN); + define_usage_analysis_hash(REGS); + define_usage_analysis_hash(INSN_BIGRAM); rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_INSN_STOP", usage_analysis_insn_stop, 0); rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_OPERAND_STOP", usage_analysis_operand_stop, 0); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/