only use type-derived sizes in eval ranges when the evaluation is an offset, not a value

This commit is contained in:
Ryan Fleury
2025-07-28 14:34:46 -07:00
parent 5134d1ce4c
commit 2e8c0875c8
+1 -1
View File
@@ -1378,7 +1378,7 @@ e_range_from_eval(E_Eval eval)
size = ptee_size;
}
}
else
else if(eval.irtree.mode == E_Mode_Offset)
{
size = e_type_byte_size_from_key(type_key);
}