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 /mathoms.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 'mathoms.c')
-rw-r--r-- | mathoms.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1171,7 +1171,7 @@ Perl_save_long(pTHX_ long int *longp) SSCHECK(3); SSPUSHLONG(*longp); SSPUSHPTR(longp); - SSPUSHINT(SAVEt_LONG); + SSPUSHUV(SAVEt_LONG); } void @@ -1184,7 +1184,7 @@ Perl_save_iv(pTHX_ IV *ivp) SSCHECK(3); SSPUSHIV(*ivp); SSPUSHPTR(ivp); - SSPUSHINT(SAVEt_IV); + SSPUSHUV(SAVEt_IV); } void @@ -1196,7 +1196,7 @@ Perl_save_nogv(pTHX_ GV *gv) SSCHECK(2); SSPUSHPTR(gv); - SSPUSHINT(SAVEt_NSTAB); + SSPUSHUV(SAVEt_NSTAB); } void @@ -1213,7 +1213,7 @@ Perl_save_list(pTHX_ register SV **sarg, I32 maxsarg) SSCHECK(3); SSPUSHPTR(sarg[i]); /* remember the pointer */ SSPUSHPTR(sv); /* remember the value */ - SSPUSHINT(SAVEt_ITEM); + SSPUSHUV(SAVEt_ITEM); } } |