summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-27 13:50:28 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-27 13:50:28 +0000
commit6cb0126773cf2b3d4a753da5601a4a5165a78d04 (patch)
tree95d4adc0ed462e02fba52bc7892ab3511836afaf /insns.def
parent7ea65f9be26d17d4bcb50b85301bf5bf379e72ef (diff)
insns.def: [DOC] update supported attributes [ci skip]
which are changed at r62051. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def7
1 files changed, 6 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index cad686fee6..cd57fbd6b8 100644
--- a/insns.def
+++ b/insns.def
@@ -38,7 +38,12 @@
- Attribute pragmas are optional, and can include arbitrary C
expressions. You can write anything there but as of writing,
- attribute named sp_inc is supported.
+ supported attributes are:
+
+ * sp_inc: Used to dynamically calculate sp increase in
+ `insn_stack_increase`.
+
+ * handles_frame: If it is true, VM moves pc before insn body.
- Attributes can access operands, but not stack (push/pop) variables.