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 /opnames.h | |
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 'opnames.h')
-rw-r--r-- | opnames.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |