rubyx/test/bench/vm/object.soml

18 lines
240 B
Plaintext
Raw Normal View History

class Object
Type get_type()
return self.type
2015-11-07 19:38:52 +02:00
end
Class get_class()
Type l = self.type
2015-11-30 16:10:08 +02:00
return l.object_class
end
2015-11-30 16:10:08 +02:00
Word get_class_name()
Type l = self.type
2015-11-30 16:10:08 +02:00
Class c = l.object_class
return c.name
end
end