summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorRichard Leach <richardleach@users.noreply.github.com>2021-04-25 21:00:43 +0100
committerTony Cook <tony@develop-help.com>2021-08-24 10:20:45 +1000
commit8514db6ffd1098e6012da55bcbc8df6fc05f2fca (patch)
tree1ee52fc95fae229b3f32d1614ca8f985680a14cc /op.h
parenta73ae6f4222879658343913054a55c91d5415f14 (diff)
downloadperl-8514db6ffd1098e6012da55bcbc8df6fc05f2fca.tar.gz
op.h: define missing BASEOP fields (op_sibparent,op_targ)
Diffstat (limited to 'op.h')
-rw-r--r--op.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/op.h b/op.h
index 827304da0d..df2807b30f 100644
--- a/op.h
+++ b/op.h
@@ -15,7 +15,13 @@
* but this is replaced when op is grafted in, when
* this op will point to the real next op, and the new
* parent takes over role of remembering starting op.)
+ * op_sibparent Pointer to the op's next sibling, or to the parent
+ * if there are no more siblings.
* op_ppaddr Pointer to current ppcode's function.
+ * op_targ An index into the current pad, identifying an SV
+ * that is typically used to store the OP's result
+ * (such as a lexical variable, or a SVs_PADTMP
+ * temporary intermediate value).
* op_type The type of the operation.
* op_opt Whether or not the op has been optimised by the
* peephole optimiser.