mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Remove the small struct optimization.
It might cause trouble for the binary_expr() cleanup.
This commit is contained in:
parent
3295370328
commit
ec98954dfc
1 changed files with 1 additions and 6 deletions
|
@ -101,13 +101,8 @@ low_level_type (type_t *type)
|
|||
return type->type;
|
||||
if (is_enum (type))
|
||||
return type_default->type;
|
||||
if (is_struct (type)) {
|
||||
//FIXME does this break anything?
|
||||
//maybe the peephole optimizer should do this sort of thing.
|
||||
if (type_size (type) == 1)
|
||||
return ev_integer;
|
||||
if (is_struct (type))
|
||||
return ev_void;
|
||||
}
|
||||
if (is_array (type))
|
||||
return ev_void;
|
||||
internal_error (0, "invalid complex type");
|
||||
|
|
Loading…
Reference in a new issue