Change RMODULE_ALLOCATED_BUT_NOT_INITIALIZED

RCLASS_CLONED no longer uses FL_USER1, so we can make
RMODULE_ALLOCATED_BUT_NOT_INITIALIZED use FL_USER1.
This commit is contained in:
Peter Zhu 2023-04-14 16:26:46 -04:00
parent ad3d4e87d7
commit d7bb7e70cc
Notes: git 2023-04-16 15:07:04 +00:00

View File

@ -465,7 +465,7 @@ static bool ensure_origin(VALUE klass);
/**
* If this flag is set, that module is allocated but not initialized yet.
*/
enum {RMODULE_ALLOCATED_BUT_NOT_INITIALIZED = RUBY_FL_USER5};
enum {RMODULE_ALLOCATED_BUT_NOT_INITIALIZED = RUBY_FL_USER1};
static inline bool
RMODULE_UNINITIALIZED(VALUE module)