diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 02:48:14 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 02:48:14 +0000 |
| commit | fde86e706baf94deca9ed18b6c3ec684f6cadc3b (patch) | |
| tree | fec64f47a363a0d12fa0cee694e5e99a28ca0ffe | |
| parent | 15c84d07d3db4ae74bc93b7442bd7fed1d3f31b7 (diff) | |
| download | ruby-fde86e706baf94deca9ed18b6c3ec684f6cadc3b.tar.gz ruby-fde86e706baf94deca9ed18b6c3ec684f6cadc3b.tar.xz ruby-fde86e706baf94deca9ed18b6c3ec684f6cadc3b.zip | |
* vm.c, vm_dump.c: fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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; |
