promote content scope to base layer, rename as 'access'; generalize based just on list of scope refcounts, + optional cvs; eliminate c_scope; replace dasm_scope with access as well

This commit is contained in:
Ryan Fleury
2025-09-18 15:21:22 -07:00
parent 5381307e90
commit 1b93dbd4bd
15 changed files with 203 additions and 308 deletions
+3 -3
View File
@@ -2206,7 +2206,7 @@ ASYNC_WORK_DEF(txt_parse_work)
U128 hash = {0};
TXT_LangKind lang = TXT_LangKind_Null;
txt_u2p_dequeue_req(&hash, &lang);
C_Scope *scope = c_scope_open();
Access *access = access_open();
//- rjf: unpack hash
U64 slot_idx = hash.u64[1]%txt_shared->slots_count;
@@ -2232,7 +2232,7 @@ ASYNC_WORK_DEF(txt_parse_work)
String8 data = {0};
if(got_task)
{
data = c_data_from_hash(scope, hash);
data = c_data_from_hash(access, hash);
}
//- rjf: data -> text info
@@ -2500,7 +2500,7 @@ ASYNC_WORK_DEF(txt_parse_work)
}
}
c_scope_close(scope);
access_close(access);
ProfEnd();
return 0;
}