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

ruby-changes:41176

From: nobu <ko1@a...>
Date: Wed, 23 Dec 2015 01:58:32 +0900 (JST)
Subject: [ruby-changes:41176] nobu:r53248 (trunk): regexec.c: enable direct threaded VM

nobu	2015-12-23 01:58:22 +0900 (Wed, 23 Dec 2015)

  New Revision: 53248

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

  Log:
    regexec.c: enable direct threaded VM
    
    * regexec.c (USE_DIRECT_THREADED_VM): enable direct threaded VM by
      the default.

  Modified files:
    trunk/ChangeLog
    trunk/regexec.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53247)
+++ ChangeLog	(revision 53248)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Dec 23 01:58:20 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* regexec.c (USE_DIRECT_THREADED_VM): enable direct threaded VM by
+	  the default.
+
 Tue Dec 22 22:15:53 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* gc.c (internal_object_p): should not expose singleton classes
Index: regexec.c
===================================================================
--- regexec.c	(revision 53247)
+++ regexec.c	(revision 53248)
@@ -32,6 +32,10 @@ https://github.com/ruby/ruby/blob/trunk/regexec.c#L32
 
 /* #define USE_MATCH_RANGE_MUST_BE_INSIDE_OF_SPECIFIED_RANGE */
 
+#ifndef USE_DIRECT_THREADED_VM
+#define USE_DIRECT_THREADED_VM 1
+#endif
+
 #ifdef USE_CRNL_AS_LINE_TERMINATOR
 #define ONIGENC_IS_MBC_CRNL(enc,p,end) \
   (ONIGENC_MBC_TO_CODE(enc,p,end) == 13 && \

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

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