summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2021-12-03 13:35:53 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2021-12-04 11:39:22 +0000
commit6ac93b496cce8882a9d5494bfedb84f4da7e0aee (patch)
tree39715c51bfcaf9a851f141a929fb07ae4fc39773 /regen
parent6ae4a6b7932dd745639ff335e83dbc87c63031a1 (diff)
downloadperl-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/opcodes3
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