diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-07-26 23:03:18 +0100 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2022-08-03 09:52:06 +0100 |
commit | 4dd48237e57323de056710e155ba3be1fd67c65f (patch) | |
tree | 86496988954f700961fbf23d88a98a2b2527ce28 /charclass_invlists.h | |
parent | 4b0ceb86a69dee7c4031370d54c78b64f3c3ee06 (diff) | |
download | perl-4dd48237e57323de056710e155ba3be1fd67c65f.tar.gz |
OP_RUNCV should be created by newSVOP()
This is in case rpeep converts it into an OP_CONST; it will need the
space big enough to be a full SVOP.
Before this commit it called `newPVOP()` which wasn't technically
correct, but since sizeof(PVOP) == sizeof(SVOP) nothing actually broke
when the memory slab was reused. However if the definition of either op
type is changed so this is no longer the case, it may cause otherwise
hard-to-debug memory corruption.
Diffstat (limited to 'charclass_invlists.h')
0 files changed, 0 insertions, 0 deletions