summaryrefslogtreecommitdiff
path: root/ext/Opcode/Opcode.pm
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2021-11-30 17:37:13 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2021-12-01 22:03:37 +0000
commit852c1a84672ff049d20d941d4df1decaabf3f3f0 (patch)
tree5baaf3ce559ae7d06b13b6c740a23bdf0913b267 /ext/Opcode/Opcode.pm
parent9ae6f26499e0b2d56c36d730466988a3d5ac8457 (diff)
downloadperl-852c1a84672ff049d20d941d4df1decaabf3f3f0.tar.gz
Direct optree implementations of builtin:: functions
Turn builtin::true/false into OP_CONSTs Add a dedicated OP_ISBOOL, make an efficient op version of builtin::isbool()
Diffstat (limited to 'ext/Opcode/Opcode.pm')
-rw-r--r--ext/Opcode/Opcode.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/Opcode/Opcode.pm b/ext/Opcode/Opcode.pm
index ce8b5bfa0e..ff6640c3fa 100644
--- a/ext/Opcode/Opcode.pm
+++ b/ext/Opcode/Opcode.pm
@@ -6,7 +6,7 @@ use strict;
our($VERSION, @ISA, @EXPORT_OK);
-$VERSION = "1.54";
+$VERSION = "1.55";
use Carp;
use Exporter 'import';
@@ -353,6 +353,8 @@ invert_opset function.
cmpchain_and cmpchain_dup
+ isbool
+
leaveeval -- needed for Safe to operate, is safe
without entereval