[前][次][番号順一覧][スレッド一覧]

ruby-changes:49956

From: k0kubun <ko1@a...>
Date: Sat, 27 Jan 2018 22:50:34 +0900 (JST)
Subject: [ruby-changes:49956] k0kubun:r62074 (trunk): insns.def: [DOC] update supported attributes [ci skip]

k0kubun	2018-01-27 22:50:28 +0900 (Sat, 27 Jan 2018)

  New Revision: 62074

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62074

  Log:
    insns.def: [DOC] update supported attributes [ci skip]
    
    which are changed at r62051.

  Modified files:
    trunk/insns.def
Index: insns.def
===================================================================
--- insns.def	(revision 62073)
+++ insns.def	(revision 62074)
@@ -38,7 +38,12 @@ https://github.com/ruby/ruby/blob/trunk/insns.def#L38
 
    - 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.
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]