register value committing; eliminate manual 'invalidation' controls for frontend caches, rely on memgen/reggen/run idxs from ctrl thread, which can be incremented solely at the ctrl thread's discretion

This commit is contained in:
Ryan Fleury
2024-01-19 12:17:42 -08:00
parent 25ef507201
commit c2d315d896
4 changed files with 40 additions and 35 deletions
+4 -3
View File
@@ -1130,11 +1130,12 @@ struct DF_State
DF_EntityListCache bin_file_cache;
// rjf: per-run caches
B32 unwind_cache_invalidated;
U64 unwind_cache_reggen_idx;
U64 unwind_cache_memgen_idx;
DF_RunUnwindCache unwind_cache;
B32 locals_cache_invalidated;
U64 locals_cache_reggen_idx;
DF_RunLocalsCache locals_cache;
B32 member_cache_invalidated;
U64 member_cache_reggen_idx;
DF_RunLocalsCache member_cache;
// rjf: eval view cache