From eddbebcb19db65c0f426c9c45756dbe5e0dd3fd8 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 4 Apr 2016 07:42:51 +0000 Subject: * vm.c (Init_VM): should pass tokens. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ vm.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 95ec032891..479309db9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 4 16:41:32 2016 Koichi Sasada + + * vm.c (Init_VM): should pass tokens. + Sun Apr 3 09:34:29 2016 Nobuyoshi Nakada * numeric.c (flodivmod): round division if it is a finite number diff --git a/vm.c b/vm.c index 7c91eaa579..a518e950cb 100644 --- a/vm.c +++ b/vm.c @@ -2852,10 +2852,10 @@ Init_VM(void) #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); -- cgit v1.2.3