summaryrefslogtreecommitdiff
path: root/opnames.h
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 /opnames.h
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 'opnames.h')
-rw-r--r--opnames.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/opnames.h b/opnames.h
index a8a46f2396..94a6b6c96d 100644
--- a/opnames.h
+++ b/opnames.h
@@ -420,10 +420,13 @@ typedef enum opcode {
OP_CATCH = 403,
OP_PUSHDEFER = 404,
OP_ISBOOL = 405,
+ OP_ISWEAK = 406,
+ OP_WEAKEN = 407,
+ OP_UNWEAKEN = 408,
OP_max
} opcode;
-#define MAXO 406
+#define MAXO 409
#define OP_FREED MAXO
/* the OP_IS_* macros are optimized to a simple range check because