You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move value_cache, value_indices, and type_index_offset into ModuleState
Summary:
Move the `value_cache`, `value_indices`, and `type_index_offset` file-scope
globals from `StaticPython/classloader.c` into the `ModuleState` class. The
Python objects (`value_cache`, `value_indices`) are stored as `Ref<>` members
with proper GC traversal.
C accessor functions are provided in `module_c_state.h/cpp` for use from the
C code in `classloader.c`.
Reviewed By: jbower-fb
Differential Revision: D96742325
fbshipit-source-id: 7759165fa1959a3ec7c649fa7acc88ebc04cf8c0
0 commit comments