mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-31 03:10:03 +00:00
fix pointer dereference path in type-mode evaluation; carve out exception for lens visualization with string-pointers - in that case, we just want to apply a string size limitation & go to the regular string path; begin getting off old color slots
This commit is contained in:
+9
-2
@@ -749,7 +749,10 @@ E_TYPE_ACCESS_FUNCTION_DEF(default)
|
||||
l_restype_kind == E_TypeKind_RRef)
|
||||
{
|
||||
new_tree = e_irtree_resolve_to_value(arena, l.mode, new_tree, l_restype);
|
||||
mode = E_Mode_Offset;
|
||||
if(l.mode != E_Mode_Null)
|
||||
{
|
||||
mode = E_Mode_Offset;
|
||||
}
|
||||
}
|
||||
if(r_value != 0 && !r_is_constant_value)
|
||||
{
|
||||
@@ -1023,7 +1026,11 @@ e_irtree_and_type_from_expr(Arena *arena, E_Expr *root_expr)
|
||||
}
|
||||
result.root = new_tree;
|
||||
result.type_key = r_type_direct;
|
||||
result.mode = E_Mode_Offset;
|
||||
result.mode = E_Mode_Null;
|
||||
if(r_tree.mode == E_Mode_Value)
|
||||
{
|
||||
result.mode = E_Mode_Offset;
|
||||
}
|
||||
}
|
||||
}break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user