summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorRichard Leach <richardleach@users.noreply.github.com>2020-02-25 00:04:53 +0000
committerKarl Williamson <khw@cpan.org>2020-03-02 09:36:02 -0700
commitbba699a8c53fc9013e3d1bc74982e4a0bf1697a9 (patch)
treecc90e02b070171ec2a6b150957ff3cbb4735af9d /regcomp.h
parentaa248400c054b2217c43a7de30750a82ae3d025f (diff)
downloadperl-bba699a8c53fc9013e3d1bc74982e4a0bf1697a9.tar.gz
regcomp.h -reorder regexp_internal to close x86-64 alignment holes
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.h b/regcomp.h
index 5eabcce9fa..c35a4a5678 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -95,7 +95,6 @@
private to the engine itself. It now lives here. */
typedef struct regexp_internal {
- int name_list_idx; /* Optional data index of an array of paren names */
union {
U32 *offsets; /* offset annotations 20001228 MJD
data about mapping the program to the
@@ -112,6 +111,7 @@
data that the regops need. Often the ARG field of
a regop is an index into this structure */
struct reg_code_blocks *code_blocks;/* positions of literal (?{}) */
+ int name_list_idx; /* Optional data index of an array of paren names */
regnode program[1]; /* Unwarranted chumminess with compiler. */
} regexp_internal;