remove bogus leaf align

This commit is contained in:
Nikita Smith
2024-10-30 15:56:09 -07:00
parent f3fbf10754
commit 339f43919c
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -1265,7 +1265,7 @@ pdb_type_server_build(TP_Context *tp, PDB_TypeServer *ts, PDB_StringTable *strta
lf_arr[lf_arr_idx] = lf; lf_arr[lf_arr_idx] = lf;
lf_arr_idx += 1; lf_arr_idx += 1;
} }
lf_buf_size += AlignPow2(lf->string.size, PDB_LEAF_ALIGN); lf_buf_size += lf->string.size;
lf_node_idx += 1; lf_node_idx += 1;
} }
@@ -1274,7 +1274,6 @@ pdb_type_server_build(TP_Context *tp, PDB_TypeServer *ts, PDB_StringTable *strta
ProfBegin("Write Type Data & Hints"); ProfBegin("Write Type Data & Hints");
PDB_WriteTypesTask write_types_task; PDB_WriteTypesTask write_types_task;
write_types_task.align = PDB_LEAF_ALIGN;
write_types_task.ti_lo = ts->ti_lo; write_types_task.ti_lo = ts->ti_lo;
write_types_task.ti_hi = ts->ti_lo + ts->leaf_list.node_count; write_types_task.ti_hi = ts->ti_lo + ts->leaf_list.node_count;
write_types_task.hint_count = hint_count; write_types_task.hint_count = hint_count;
-1
View File
@@ -135,7 +135,6 @@ typedef struct
typedef struct typedef struct
{ {
U64 align;
CV_TypeIndex ti_lo; CV_TypeIndex ti_lo;
CV_TypeIndex ti_hi; CV_TypeIndex ti_hi;
U64 hint_count; U64 hint_count;