summaryrefslogtreecommitdiff
path: root/ext/ByteLoader/byterun.h
diff options
context:
space:
mode:
authorPaul Johnson <paul@pjcj.net>2004-02-21 03:31:47 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-02-21 16:18:32 +0000
commit2814eb746a9281fd66cc5c45be3b127463ec07c7 (patch)
tree9450012410210846e803553bfba88446fa14206c /ext/ByteLoader/byterun.h
parentdb8ddb421f6758f0b11b38073916c1366f5b4515 (diff)
downloadperl-2814eb746a9281fd66cc5c45be3b127463ec07c7.tar.gz
Re: op_seq (was: Freeing code)
Message-ID: <20040221013147.GB6953@pjcj.net> Rework the OP structure to use less space. Remove op_seq (and simulate it in dump.c), replace it by op_opt and op_static, shrink op_type, remove PL_op_seqmax. p4raw-id: //depot/perl@22353
Diffstat (limited to 'ext/ByteLoader/byterun.h')
-rw-r--r--ext/ByteLoader/byterun.h107
1 files changed, 54 insertions, 53 deletions
diff --git a/ext/ByteLoader/byterun.h b/ext/ByteLoader/byterun.h
index 6e28693963..334abe6d55 100644
--- a/ext/ByteLoader/byterun.h
+++ b/ext/ByteLoader/byterun.h
@@ -128,59 +128,60 @@ enum {
INSN_OP_PPADDR, /* 96 */
INSN_OP_TARG, /* 97 */
INSN_OP_TYPE, /* 98 */
- INSN_OP_SEQ, /* 99 */
- INSN_OP_FLAGS, /* 100 */
- INSN_OP_PRIVATE, /* 101 */
- INSN_OP_FIRST, /* 102 */
- INSN_OP_LAST, /* 103 */
- INSN_OP_OTHER, /* 104 */
- INSN_OP_PMREPLROOT, /* 105 */
- INSN_OP_PMREPLSTART, /* 106 */
- INSN_OP_PMNEXT, /* 107 */
- INSN_OP_PMSTASHPV, /* 108 */
- INSN_OP_PMREPLROOTPO, /* 109 */
- INSN_OP_PMSTASH, /* 110 */
- INSN_OP_PMREPLROOTGV, /* 111 */
- INSN_PREGCOMP, /* 112 */
- INSN_OP_PMFLAGS, /* 113 */
- INSN_OP_PMPERMFLAGS, /* 114 */
- INSN_OP_PMDYNFLAGS, /* 115 */
- INSN_OP_SV, /* 116 */
- INSN_OP_PADIX, /* 117 */
- INSN_OP_PV, /* 118 */
- INSN_OP_PV_TR, /* 119 */
- INSN_OP_REDOOP, /* 120 */
- INSN_OP_NEXTOP, /* 121 */
- INSN_OP_LASTOP, /* 122 */
- INSN_COP_LABEL, /* 123 */
- INSN_COP_STASHPV, /* 124 */
- INSN_COP_FILE, /* 125 */
- INSN_COP_STASH, /* 126 */
- INSN_COP_FILEGV, /* 127 */
- INSN_COP_SEQ, /* 128 */
- INSN_COP_ARYBASE, /* 129 */
- INSN_COP_LINE, /* 130 */
- INSN_COP_IO, /* 131 */
- INSN_COP_WARNINGS, /* 132 */
- INSN_MAIN_START, /* 133 */
- INSN_MAIN_ROOT, /* 134 */
- INSN_MAIN_CV, /* 135 */
- INSN_CURPAD, /* 136 */
- INSN_PUSH_BEGIN, /* 137 */
- INSN_PUSH_INIT, /* 138 */
- INSN_PUSH_END, /* 139 */
- INSN_CURSTASH, /* 140 */
- INSN_DEFSTASH, /* 141 */
- INSN_DATA, /* 142 */
- INSN_INCAV, /* 143 */
- INSN_LOAD_GLOB, /* 144 */
- INSN_REGEX_PADAV, /* 145 */
- INSN_DOWARN, /* 146 */
- INSN_COMPPAD_NAME, /* 147 */
- INSN_XGV_STASH, /* 148 */
- INSN_SIGNAL, /* 149 */
- INSN_FORMFEED, /* 150 */
- MAX_INSN = 150
+ INSN_OP_OPT, /* 99 */
+ INSN_OP_STATIC, /* 100 */
+ INSN_OP_FLAGS, /* 101 */
+ INSN_OP_PRIVATE, /* 102 */
+ INSN_OP_FIRST, /* 103 */
+ INSN_OP_LAST, /* 104 */
+ INSN_OP_OTHER, /* 105 */
+ INSN_OP_PMREPLROOT, /* 106 */
+ INSN_OP_PMREPLSTART, /* 107 */
+ INSN_OP_PMNEXT, /* 108 */
+ INSN_OP_PMSTASHPV, /* 109 */
+ INSN_OP_PMREPLROOTPO, /* 110 */
+ INSN_OP_PMSTASH, /* 111 */
+ INSN_OP_PMREPLROOTGV, /* 112 */
+ INSN_PREGCOMP, /* 113 */
+ INSN_OP_PMFLAGS, /* 114 */
+ INSN_OP_PMPERMFLAGS, /* 115 */
+ INSN_OP_PMDYNFLAGS, /* 116 */
+ INSN_OP_SV, /* 117 */
+ INSN_OP_PADIX, /* 118 */
+ INSN_OP_PV, /* 119 */
+ INSN_OP_PV_TR, /* 120 */
+ INSN_OP_REDOOP, /* 121 */
+ INSN_OP_NEXTOP, /* 122 */
+ INSN_OP_LASTOP, /* 123 */
+ INSN_COP_LABEL, /* 124 */
+ INSN_COP_STASHPV, /* 125 */
+ INSN_COP_FILE, /* 126 */
+ INSN_COP_STASH, /* 127 */
+ INSN_COP_FILEGV, /* 128 */
+ INSN_COP_SEQ, /* 129 */
+ INSN_COP_ARYBASE, /* 130 */
+ INSN_COP_LINE, /* 131 */
+ INSN_COP_IO, /* 132 */
+ INSN_COP_WARNINGS, /* 133 */
+ INSN_MAIN_START, /* 134 */
+ INSN_MAIN_ROOT, /* 135 */
+ INSN_MAIN_CV, /* 136 */
+ INSN_CURPAD, /* 137 */
+ INSN_PUSH_BEGIN, /* 138 */
+ INSN_PUSH_INIT, /* 139 */
+ INSN_PUSH_END, /* 140 */
+ INSN_CURSTASH, /* 141 */
+ INSN_DEFSTASH, /* 142 */
+ INSN_DATA, /* 143 */
+ INSN_INCAV, /* 144 */
+ INSN_LOAD_GLOB, /* 145 */
+ INSN_REGEX_PADAV, /* 146 */
+ INSN_DOWARN, /* 147 */
+ INSN_COMPPAD_NAME, /* 148 */
+ INSN_XGV_STASH, /* 149 */
+ INSN_SIGNAL, /* 150 */
+ INSN_FORMFEED, /* 151 */
+ MAX_INSN = 151
};
enum {