Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
266393d3 08/31/2025 09:31 AM nobu (Nobuyoshi Nakada)

CI: Adjust time frame before the release

5c7dfe85 08/30/2025 06:24 PM jeremyevans (Jeremy Evans)

Initialize class dup/clone before calling initialize_dup/initialize_clone

Previously, you could override the class initialize_dup/initialize_clone
method and the class hierarchy would not be set correctly inside the
method before calling super.

This removes Module#initialize_copy, and instead makes Object#dup/clone...

dd4e7801 08/30/2025 01:41 PM S_H_ (Shun Hiraoka)

Add NODE SCLASS locations

Add locations to struct RNode_SCLASS.

memo:

@ ProgramNode (location: (1,0)-(1,18))
+-- locals: []
+-- statements:
    @ StatementsNode (location: (1,0)-(1,18))
    +-- body: (length: 1)
        +-- @ SingletonClassNode (location: (1,0)-(1,18))...
395bda2f 08/30/2025 12:17 PM byroot (Jean Boussier)

object.c: make rb_obj_class_must static inline

d89e7347 08/30/2025 12:14 PM byroot (Jean Boussier)

object.c: refactor rb_obj_class and rb_class_real

f5da6395 08/30/2025 12:14 PM byroot (Jean Boussier)

Kernel#class skip null check

Kernel#class can't possibly be called on an hidden object,
hence we don't need to check for klass == 0.

compare-ruby: ruby 3.5.0dev (2025-08-30T01:45:42Z obj-class 01a57bd6cd) +YJIT +PRISM [arm64-darwin24]
built-ruby: ruby 3.5.0dev (2025-08-30T10:21:10Z obj-class b67c16c477) +YJIT +PRISM [arm64-darwin24]...
01b89528 08/30/2025 12:14 PM byroot (Jean Boussier)

object.c: improve fake_class_p to also handle T_MODULE

This requires ensuring T_MODULE never has FL_SINGLETON set,
so RMODULE_IS_REFINEMENT had to be moved.

fd0c772d 08/30/2025 12:14 PM byroot (Jean Boussier)

Micro-optimize Object#class

Since BUILTIN_TYPE and RCLASS_SINGLETON_P are both stored in
RBasic.flags, we can combine these two checks in a single bitmask.

This rely on T_ICLASS and T_CLASS not overlapping, and assume
klass is always either of these types....

01a57bd6 08/30/2025 01:45 AM nobu (Nobuyoshi Nakada)

CI: Warn longstanding development revision of bundled gems

d94e0a7b 08/30/2025 01:17 AM nobu (Nobuyoshi Nakada)

CI: bundled_gems.yml: Split commit and push

View all revisions | View revisions

Also available in: Atom