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

ruby-changes:28359

From: tmm1 <ko1@a...>
Date: Tue, 23 Apr 2013 04:40:22 +0900 (JST)
Subject: [ruby-changes:28359] tmm1:r40411 (trunk): fix minor code comment typos

tmm1	2013-04-23 04:40:10 +0900 (Tue, 23 Apr 2013)

  New Revision: 40411

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40411

  Log:
    fix minor code comment typos

  Modified files:
    trunk/vm_exec.h
    trunk/vm_opts.h

Index: vm_exec.h
===================================================================
--- vm_exec.h	(revision 40410)
+++ vm_exec.h	(revision 40411)
@@ -83,7 +83,7 @@ error ! https://github.com/ruby/ruby/blob/trunk/vm_exec.h#L83
   LABEL(insn): \
   INSN_ENTRY_SIG(insn); \
 
-/* dispather */
+/* dispatcher */
 #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && __GNUC__ == 3
 #define DISPATCH_ARCH_DEPEND_WAY(addr) \
   __asm__ __volatile__("jmp *%0;\t# -- inserted by vm.h\t[length = 2]" : : "r" (addr))
@@ -105,7 +105,7 @@ error ! https://github.com/ruby/ruby/blob/trunk/vm_exec.h#L105
   ;
 
 #else
-/* token threade code */
+/* token threaded code */
 
 #define TC_DISPATCH(insn)  \
   DISPATCH_ARCH_DEPEND_WAY(insns_address_table[GET_CURRENT_INSN()]); \
Index: vm_opts.h
===================================================================
--- vm_opts.h	(revision 40410)
+++ vm_opts.h	(revision 40411)
@@ -29,7 +29,7 @@ https://github.com/ruby/ruby/blob/trunk/vm_opts.h#L29
  * You can't change these options at runtime.
  */
 
-/* C compiler depend */
+/* C compiler dependent */
 #define OPT_DIRECT_THREADED_CODE     1
 #define OPT_TOKEN_THREADED_CODE      0
 #define OPT_CALL_THREADED_CODE       0

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

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