Rename builtin attr :inline to :leaf

This commit is contained in:
Takashi Kokubun 2023-03-11 14:25:11 -08:00
parent 0c0c88d383
commit 94da5f7c36
7 changed files with 23 additions and 26 deletions

View file

@ -16,7 +16,7 @@ module Kernel
#++
#
def class
Primitive.attr! :inline
Primitive.attr! :leaf
Primitive.cexpr! 'rb_obj_class(self)'
end
@ -65,7 +65,7 @@ module Kernel
#++
#
def frozen?
Primitive.attr! :inline
Primitive.attr! :leaf
Primitive.cexpr! 'rb_obj_frozen_p(self)'
end