summaryrefslogtreecommitdiff
path: root/opnames.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2021-02-09 00:52:18 +0000
committerPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2021-02-14 13:40:50 +0000
commit383bf72f374cd3608e3ae2a186dd0c3a8d2fbf53 (patch)
tree6ce924a3e6c0059d1c46fd9926bce2828bc12967 /opnames.h
parent656489102eb44a763e82ae9961a7097021182677 (diff)
downloadperl-383bf72f374cd3608e3ae2a186dd0c3a8d2fbf53.tar.gz
A totally new optree structure for try/catch involving three new optypes
Diffstat (limited to 'opnames.h')
-rw-r--r--opnames.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/opnames.h b/opnames.h
index 57d29583af..f6c1552a52 100644
--- a/opnames.h
+++ b/opnames.h
@@ -414,11 +414,14 @@ typedef enum opcode {
OP_ISA = 397,
OP_CMPCHAIN_AND = 398,
OP_CMPCHAIN_DUP = 399,
- OP_CATCH = 400,
+ OP_ENTERTRYCATCH = 400,
+ OP_LEAVETRYCATCH = 401,
+ OP_POPTRY = 402,
+ OP_CATCH = 403,
OP_max
} opcode;
-#define MAXO 401
+#define MAXO 404
#define OP_FREED MAXO
/* the OP_IS_* macros are optimized to a simple range check because