diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vm.c | 8 | ||||
-rw-r--r-- | vm_dump.c | 8 |
3 files changed, 12 insertions, 8 deletions
@@ -1,3 +1,7 @@ +Fri Dec 21 11:35:10 2007 Koichi Sasada <ko1@atdot.net> + + * vm.c, vm_dump.c: fix typo. + Fri Dec 21 11:28:00 2007 Tanaka Akira <akr@fsij.org> * regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb, @@ -1777,10 +1777,10 @@ Init_VM(void) rb_undef_alloc_func(rb_cThread); rb_define_method(rb_cThread, "initialize", ruby_thread_init, 0); - /* ::VM::USAGE_ANALISYS_* */ - rb_define_const(rb_cVM, "USAGE_ANALISYS_INSN", rb_hash_new()); - rb_define_const(rb_cVM, "USAGE_ANALISYS_REGS", rb_hash_new()); - rb_define_const(rb_cVM, "USAGE_ANALISYS_INSN_BIGRAM", rb_hash_new()); + /* ::VM::USAGE_ANALYSIS_* */ + rb_define_const(rb_cVM, "USAGE_ANALYSIS_INSN", rb_hash_new()); + rb_define_const(rb_cVM, "USAGE_ANALYSIS_REGS", rb_hash_new()); + rb_define_const(rb_cVM, "USAGE_ANALYSIS_INSN_BIGRAM", rb_hash_new()); rb_define_const(rb_cVM, "OPTS", opts = rb_ary_new()); #if OPT_DIRECT_THREADED_CODE @@ -426,8 +426,8 @@ vm_analysis_insn(int insn) VALUE cv; if (usage_hash == 0) { - usage_hash = rb_intern("USAGE_ANALISYS_INSN"); - bigram_hash = rb_intern("USAGE_ANALISYS_INSN_BIGRAM"); + usage_hash = rb_intern("USAGE_ANALYSIS_INSN"); + bigram_hash = rb_intern("USAGE_ANALYSIS_INSN_BIGRAM"); } uh = rb_const_get(rb_cVM, usage_hash); if ((ihash = rb_hash_aref(uh, INT2FIX(insn))) == Qnil) { @@ -474,7 +474,7 @@ vm_analysis_operand(int insn, int n, VALUE op) VALUE cv; if (usage_hash == 0) { - usage_hash = rb_intern("USAGE_ANALISYS_INSN"); + usage_hash = rb_intern("USAGE_ANALYSIS_INSN"); } uh = rb_const_get(rb_cVM, usage_hash); @@ -524,7 +524,7 @@ vm_analysis_register(int reg, int isset) char buff[0x10]; int i; - usage_hash = rb_intern("USAGE_ANALISYS_REGS"); + usage_hash = rb_intern("USAGE_ANALYSIS_REGS"); for (i = 0; i < sizeof(regstrs) / sizeof(regstrs[0]); i++) { int j; |