ruby-changes:22125
From: ktsj <ko1@a...>
Date: Mon, 2 Jan 2012 17:28:14 +0900 (JST)
Subject: [ruby-changes:22125] ktsj:r34174 (trunk): * vm.c: fix comment.
ktsj 2012-01-02 17:28:05 +0900 (Mon, 02 Jan 2012) New Revision: 34174 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34174 Log: * vm.c: fix comment. Modified files: trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 34173) +++ vm.c (revision 34174) @@ -2073,12 +2073,12 @@ VALUE klass; VALUE fcore; - /* ::VM */ + /* ::RubyVM */ rb_cRubyVM = rb_define_class("RubyVM", rb_cObject); rb_undef_alloc_func(rb_cRubyVM); rb_undef_method(CLASS_OF(rb_cRubyVM), "new"); - /* ::VM::FrozenCore */ + /* FrozenCore (hidden) */ fcore = rb_class_new(rb_cBasicObject); RBASIC(fcore)->flags = T_ICLASS; klass = rb_singleton_class(fcore); @@ -2092,7 +2092,7 @@ rb_gc_register_mark_object(fcore); rb_mRubyVMFrozenCore = fcore; - /* ::VM::Env */ + /* ::RubyVM::Env */ rb_cEnv = rb_define_class_under(rb_cRubyVM, "Env", rb_cObject); rb_undef_alloc_func(rb_cEnv); rb_undef_method(CLASS_OF(rb_cEnv), "new"); @@ -2101,7 +2101,7 @@ rb_cThread = rb_define_class("Thread", rb_cObject); rb_undef_alloc_func(rb_cThread); - /* ::VM::USAGE_ANALYSIS_* */ + /* ::RubyVM::USAGE_ANALYSIS_* */ rb_define_const(rb_cRubyVM, "USAGE_ANALYSIS_INSN", rb_hash_new()); rb_define_const(rb_cRubyVM, "USAGE_ANALYSIS_REGS", rb_hash_new()); rb_define_const(rb_cRubyVM, "USAGE_ANALYSIS_INSN_BIGRAM", rb_hash_new()); @@ -2131,10 +2131,10 @@ rb_ary_push(opts, rb_str_new2("block inlining")); #endif - /* ::VM::InsnNameArray */ + /* ::RubyVM::INSTRUCTION_NAMES */ rb_define_const(rb_cRubyVM, "INSTRUCTION_NAMES", rb_insns_name_array()); - /* debug functions ::VM::SDR(), ::VM::NSDR() */ + /* debug functions ::RubyVM::SDR(), ::RubyVM::NSDR() */ #if VMDEBUG rb_define_singleton_method(rb_cRubyVM, "SDR", sdr, 0); rb_define_singleton_method(rb_cRubyVM, "NSDR", nsdr, 0); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/