diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-02-20 12:21:52 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-05-01 14:01:41 +0100 |
commit | c6bf6a65e4bf512beae58d59446046f4ca20372f (patch) | |
tree | 1c57f74df902dcff874fbc60c8649788ad6919ce /regexec.c | |
parent | 620d5b66847dea9c84e6d8017fd953345ed9af51 (diff) | |
download | perl-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 'regexec.c')
-rw-r--r-- | regexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -335,7 +335,7 @@ S_regcppush(pTHX_ I32 parenfloor) SSPUSHINT(*PL_reglastcloseparen); SSPUSHPTR(PL_reginput); SSPUSHINT(total_elems); - SSPUSHINT(SAVEt_REGCONTEXT); /* Magic cookie. */ + SSPUSHUV(SAVEt_REGCONTEXT); /* Magic cookie. */ return retval; } @@ -367,7 +367,7 @@ S_regcppop(pTHX_ const regexp *rex) PERL_ARGS_ASSERT_REGCPPOP; /* Pop REGCP_OTHER_ELEMS before the parentheses loop starts. */ - i = SSPOPINT; + i = SSPOPUV; assert(i == SAVEt_REGCONTEXT); /* Check that the magic cookie is there. */ i = SSPOPINT; /* Parentheses elements to pop. */ input = (char *) SSPOPPTR; |