eliminate unnecessary layers in frontend

This commit is contained in:
Ryan Fleury
2024-03-21 16:13:01 -07:00
parent 2c9ff37b2c
commit 236214db25
4 changed files with 66 additions and 151 deletions
+1 -1
View File
@@ -2131,7 +2131,7 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D
if(thread->kind == DF_EntityKind_Thread)
{
// rjf: grab rip
U64 rip_vaddr = (unwind_count == 0 ? df_rip_from_thread(thread) : df_query_cached_rip_from_thread_unwind(thread, unwind_count));
U64 rip_vaddr = df_query_cached_rip_from_thread_unwind(thread, unwind_count);
// rjf: extract thread/rip info
DF_Entity *process = df_entity_ancestor_from_kind(thread, DF_EntityKind_Process);