regexec.c: enable direct threaded VM

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-12-22 16:58:22 +00:00
parent 73cc829595
commit 6e767dd0ac
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Dec 23 01:58:20 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* regexec.c (USE_DIRECT_THREADED_VM): enable direct threaded VM by
the default.
Tue Dec 22 22:15:53 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (internal_object_p): should not expose singleton classes

View File

@ -32,6 +32,10 @@
/* #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 && \