aboutsummaryrefslogtreecommitdiffstats
path: root/regint.h
diff options
context:
space:
mode:
authorTSUYUSATO Kitsune <make.just.on@gmail.com>2022-10-06 17:11:33 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-11-09 23:21:26 +0900
commitcbabba9c82f3401a67d470ee6ef9213cb6161f57 (patch)
treeb3309fbcbb2b7fb54439a9702e8294f8af0fbbf7 /regint.h
parentaefb7e5fa5f60d6ad9a6cf56bbf9ac950cee302e (diff)
downloadruby-cbabba9c82f3401a67d470ee6ef9213cb6161f57.tar.gz
Add index to the latest NULL_CHECK_STACK for fast matching
Diffstat (limited to 'regint.h')
-rw-r--r--regint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/regint.h b/regint.h
index c310946886..9642389936 100644
--- a/regint.h
+++ b/regint.h
@@ -828,6 +828,7 @@ typedef intptr_t OnigStackIndex;
typedef struct _OnigStackType {
unsigned int type;
+ OnigStackIndex null_check;
union {
struct {
UChar *pcode; /* byte code position */