mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-26 15:52:23 -08:00
demon: eliminate redundant access scopes
This commit is contained in:
1 parent
5ed398a8b9
commit
7388b757d1
8 files changed
+123
-151
No files matched your search
@@ -2476,14 +2476,11 @@ d_ctrl_thread__entry_point(void *p)
|
||||
ProfScope("update thread register cache")
|
||||
{
|
||||
D_EntityArray threads = d_entity_array_from_kind(D_EntityKind_Thread);
|
||||
X64_RegBlock *blocks = push_array(scratch.arena, X64_RegBlock, threads.count);
|
||||
for EachIndex(idx, threads.count)
|
||||
{
|
||||
for EachIndex(idx, threads.count)
|
||||
{
|
||||
Temp scratch = scratch_begin(0, 0);
|
||||
d_cached_reg_block_from_thread(scratch.arena, threads.v[idx]->handle);
|
||||
scratch_end(scratch);
|
||||
}
|
||||
Temp scratch = scratch_begin(0, 0);
|
||||
d_cached_reg_block_from_thread(scratch.arena, threads.v[idx]->handle);
|
||||
scratch_end(scratch);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user