mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-30 01:23:20 -08:00
reflect cast changes in cast-calls
This commit is contained in:
1 parent
3ae3f94db0
commit
051bacf124
1 file changed
+4
@@ -1436,6 +1436,10 @@ e_push_irtree_and_type_from_expr(Arena *arena, E_IRTreeAndType *root_parent, E_I
|
|||||||
{
|
{
|
||||||
new_tree = e_irtree_trunc(arena, in_tree, cast_type);
|
new_tree = e_irtree_trunc(arena, in_tree, cast_type);
|
||||||
}
|
}
|
||||||
|
if(e_type_kind_is_signed(cast_type_kind) && e_type_kind_is_integer(casted_type_kind) && !e_type_kind_is_signed(casted_type_kind))
|
||||||
|
{
|
||||||
|
new_tree = e_irtree_trunc(arena, in_tree, cast_type);
|
||||||
|
}
|
||||||
result.root = new_tree;
|
result.root = new_tree;
|
||||||
result.type_key = cast_type;
|
result.type_key = cast_type;
|
||||||
result.mode = E_Mode_Value;
|
result.mode = E_Mode_Value;
|
||||||
|
|||||||
Reference in new issue
Block a user