diff options
author | James Raspass <jraspass@gmail.com> | 2022-06-11 23:33:31 +0100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2022-07-05 11:17:31 +1000 |
commit | a02b8151f9b69201233f9ca5774db280c34684de (patch) | |
tree | c783043e3e74ece3c98f4c71d828aa4eb571adc5 /opnames.h | |
parent | c5327cb77526e4e4c7bb83e24be20ac48e85b1fa (diff) | |
download | perl-a02b8151f9b69201233f9ca5774db280c34684de.tar.gz |
Add builtin::is_tainted
Also tweak the implementation of the other two boolean builtins (is_bool
& is_weak) to be slightly more efficient.
Diffstat (limited to 'opnames.h')
-rw-r--r-- | opnames.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -428,10 +428,11 @@ typedef enum opcode { OP_REFTYPE = 411, OP_CEIL = 412, OP_FLOOR = 413, + OP_IS_TAINTED = 414, OP_max } opcode; -#define MAXO 414 +#define MAXO 415 #define OP_FREED MAXO /* the OP_IS_* macros are optimized to a simple range check because |