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
-28
View File
@@ -471,34 +471,6 @@ struct CTRL_ThreadRegCache
CTRL_ThreadRegCacheStripe *stripes;
};
////////////////////////////////
//~ rjf: Unwind Cache Types
typedef struct CTRL_UnwindCacheNode CTRL_UnwindCacheNode;
struct CTRL_UnwindCacheNode
{
CTRL_UnwindCacheNode *next;
CTRL_UnwindCacheNode *prev;
// rjf: key
CTRL_MachineID machine_id;
DMN_Handle thread;
U64 run_gen;
U64 mem_gen;
U64 reg_gen;
// rjf: artifacts
CTRL_Unwind unwind;
U64 tls_base_vaddr;
};
typedef struct CTRL_UnwindCacheSlot CTRL_UnwindCacheSlot;
struct CTRL_UnwindCacheSlot
{
CTRL_UnwindCacheNode *first;
CTRL_UnwindCacheNode *last;
};
////////////////////////////////
//~ rjf: Wakeup Hook Function Types