From 6cb0126773cf2b3d4a753da5601a4a5165a78d04 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sat, 27 Jan 2018 13:50:28 +0000 Subject: [PATCH] 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 --- insns.def | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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.