mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 13:28:40 +00:00
more itype generation fixes
This commit is contained in:
@@ -1100,7 +1100,6 @@ p2r_convert(Arena *arena, P2R_ConvertIn *in)
|
|||||||
{
|
{
|
||||||
RDI_U64 itype_types_cap = (U64)(itype_opl);
|
RDI_U64 itype_types_cap = (U64)(itype_opl);
|
||||||
RDI_U64 extra_types_chunk_cap = 1024;
|
RDI_U64 extra_types_chunk_cap = 1024;
|
||||||
rdim_type_chunk_list_push(arena, &itype_types, itype_types_cap);
|
|
||||||
#define p2r_type_ptr_from_itype(itype) (((itype) < itype_opl) ? (&itype_types.first->v[(type_fwd_map[(itype)] ? type_fwd_map[(itype)] : (itype))]) : 0)
|
#define p2r_type_ptr_from_itype(itype) (((itype) < itype_opl) ? (&itype_types.first->v[(type_fwd_map[(itype)] ? type_fwd_map[(itype)] : (itype))]) : 0)
|
||||||
for(CV_TypeId itype = 0; itype < itype_opl; itype += 1)
|
for(CV_TypeId itype = 0; itype < itype_opl; itype += 1)
|
||||||
{
|
{
|
||||||
@@ -1143,7 +1142,7 @@ p2r_convert(Arena *arena, P2R_ConvertIn *in)
|
|||||||
//////////////////////////
|
//////////////////////////
|
||||||
//- rjf: build non-basic type
|
//- rjf: build non-basic type
|
||||||
//
|
//
|
||||||
if(!itype_is_basic)
|
if(!itype_is_basic && itype >= itype_first)
|
||||||
{
|
{
|
||||||
CV_RecRange *range = &tpi_leaf->leaf_ranges.ranges[itype-itype_first];
|
CV_RecRange *range = &tpi_leaf->leaf_ranges.ranges[itype-itype_first];
|
||||||
CV_LeafKind kind = range->hdr.kind;
|
CV_LeafKind kind = range->hdr.kind;
|
||||||
@@ -2562,6 +2561,11 @@ p2r_convert(Arena *arena, P2R_ConvertIn *in)
|
|||||||
CV_Reg cv_reg = regrel32->reg;
|
CV_Reg cv_reg = regrel32->reg;
|
||||||
U32 var_off = regrel32->reg_off;
|
U32 var_off = regrel32->reg_off;
|
||||||
|
|
||||||
|
if(str8_match(name, str8_lit("basics"), 0))
|
||||||
|
{
|
||||||
|
int x = 0;
|
||||||
|
}
|
||||||
|
|
||||||
// rjf: determine if this is a parameter
|
// rjf: determine if this is a parameter
|
||||||
RDI_LocalKind local_kind = RDI_LocalKind_Variable;
|
RDI_LocalKind local_kind = RDI_LocalKind_Variable;
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user