fix artifact cache replaced-value deletion - this CAN NOT run if the new value == the old value

This commit is contained in:
Ryan Fleury committed 2026-05-11 13:29:29 -07:00
1 parent 52da228efe
commit de35a86505
8 files changed
+142 -26

No files matched your search

+8 -3
View File
@@ -10488,9 +10488,14 @@ rd_frame(void)
//////////////////////////////
//- rjf: do per-frame resets
//
arena_clear(rd_frame_arena());
rd_state->top_regs = &rd_state->base_regs;
rd_regs_copy_contents(rd_frame_arena(), &rd_state->top_regs->v, &rd_state->top_regs->v);
{
Temp scratch = scratch_begin(0, 0);
rd_state->top_regs = &rd_state->base_regs;
rd_regs_copy_contents(scratch.arena, &rd_state->top_regs->v, &rd_state->top_regs->v);
arena_clear(rd_frame_arena());
rd_regs_copy_contents(rd_frame_arena(), &rd_state->top_regs->v, &rd_state->top_regs->v);
scratch_end(scratch);
}
if(rd_state->next_hover_regs != 0)
{
rd_state->hover_regs = rd_regs_copy(rd_frame_arena(), rd_state->next_hover_regs);
+7 -6
View File
@@ -10,6 +10,13 @@
// [ ] memory_size(...) view for quickly evaluating memory sizes
// [ ] value coloring view in watch window, so you can quickly scroll & see values outside of a threshold
//
// [ ] asan pass
// [ ] policy for closing debug info which is no longer relevant?
// [ ] codebase-internal barrier impl (win7/linux support)
// [ ] external window focusing bugs
// [ ] PDB -> RDI conversion memory usage
// [x] killing/restarting thread performance (#780)
//
// [ ] project/user file improvements
// [ ] "default" -> "untitled"
// [ ] should clear default project data every time the program starts
@@ -18,12 +25,6 @@
// [ ] more things should move to user data, but project-tagged - like
// recent files, watches?, etc.
//
// [ ] killing/restarting thread performance (#780)
// [ ] codebase-internal barrier impl (win7/linux support)
// [ ] PDB -> RDI conversion memory usage
// [ ] policy for closing debug info which is no longer relevant?
// [ ] external window focusing bugs
//
// [ ] linux/dwarf fixes
// [ ] excessive CPU usage on async threads - barrier impl?
// [ ] step-over/step-into doesn't step successfully in many cases, just causes a continue