summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-02-20 12:21:52 +0000
committerNicholas Clark <nick@ccl4.org>2010-05-01 14:01:41 +0100
commitc6bf6a65e4bf512beae58d59446046f4ca20372f (patch)
tree1c57f74df902dcff874fbc60c8649788ad6919ce /regcomp.c
parent620d5b66847dea9c84e6d8017fd953345ed9af51 (diff)
downloadperl-c6bf6a65e4bf512beae58d59446046f4ca20372f.tar.gz
On the save stack, store the save type as the bottom 6 bits of a UV.
This makes the other 26 (or 58) bits available for save data.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index a9ebb73568..1a815c67fd 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -9883,7 +9883,7 @@ Perl_save_re_context(pTHX)
state = (struct re_save_state *)(PL_savestack + PL_savestack_ix);
PL_savestack_ix += SAVESTACK_ALLOC_FOR_RE_SAVE_STATE;
- SSPUSHINT(SAVEt_RE_STATE);
+ SSPUSHUV(SAVEt_RE_STATE);
Copy(&PL_reg_state, state, 1, struct re_save_state);