[前][次][番号順一覧][スレッド一覧]

ruby-changes:2887

From: ko1@a...
Date: 21 Dec 2007 11:48:32 +0900
Subject: [ruby-changes:2887] ko1 - Ruby:r14378 (trunk): * vm.c, vm_dump.c: fix typo.

ko1	2007-12-21 11:48:14 +0900 (Fri, 21 Dec 2007)

  New Revision: 14378

  Modified files:
    trunk/ChangeLog
    trunk/vm.c
    trunk/vm_dump.c

  Log:
    * vm.c, vm_dump.c: fix typo.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm_dump.c?r1=14378&r2=14377
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14378&r2=14377
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm.c?r1=14378&r2=14377

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14377)
+++ ChangeLog	(revision 14378)
@@ -1,3 +1,7 @@
+Fri Dec 21 11:35:10 2007  Koichi Sasada  <ko1@a...>
+
+	* vm.c, vm_dump.c: fix typo.
+
 Fri Dec 21 11:28:00 2007  Tanaka Akira  <akr@f...>
 
 	* regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
Index: vm.c
===================================================================
--- vm.c	(revision 14377)
+++ vm.c	(revision 14378)
@@ -1777,10 +1777,10 @@
     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
Index: vm_dump.c
===================================================================
--- vm_dump.c	(revision 14377)
+++ vm_dump.c	(revision 14378)
@@ -426,8 +426,8 @@
     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 @@
     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 @@
 	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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]