diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-14 15:38:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 15:38:58 -0700 |
commit | 70ba3102129dbaf6c943d1ed042103e0238842f4 (patch) | |
tree | e0337226448cc96979a9cd382b7f22997c36d387 /vm_core.h | |
parent | 868f03cce1a2d7a4df9b03b8338e3af4c69041d0 (diff) |
YJIT: Introduce no_gc attribute (#7511)
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -370,8 +370,10 @@ enum rb_iseq_type { // Attributes specified by Primitive.attr! enum rb_builtin_attr { - // If true, this ISeq does not call methods. + // The iseq does not call methods. BUILTIN_ATTR_LEAF = 0x01, + // The iseq does not allocate objects. + BUILTIN_ATTR_NO_GC = 0x02, }; struct rb_iseq_constant_body { |