diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2021-12-03 13:35:53 +0000 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2021-12-04 11:39:22 +0000 |
commit | 6ac93b496cce8882a9d5494bfedb84f4da7e0aee (patch) | |
tree | 39715c51bfcaf9a851f141a929fb07ae4fc39773 /regen | |
parent | 6ae4a6b7932dd745639ff335e83dbc87c63031a1 (diff) | |
download | perl-6ac93b496cce8882a9d5494bfedb84f4da7e0aee.tar.gz |
Add builtin:: funcs for handling weakrefs
Also, ensure that B::Deparse understands the OA_TARGMY optimisation of
OP_ISBOOL
Diffstat (limited to 'regen')
-rw-r--r-- | regen/opcodes | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/regen/opcodes b/regen/opcodes index 063a628e7a..523aa32dea 100644 --- a/regen/opcodes +++ b/regen/opcodes @@ -585,3 +585,6 @@ catch catch {} block ck_null | pushdefer push defer {} block ck_null | isbool boolean type test ck_null fsT1 +isweak weakref type test ck_null fsT1 +weaken reference weaken ck_null 1 +unweaken reference unweaken ck_null 1 |