Do not double-allocate space for immediates.

Caused by changed semantics in def creation.
This commit is contained in:
Bill Currie 2011-04-03 13:11:50 +09:00
parent 92ba110a87
commit 38b25e0c38

View file

@ -304,7 +304,6 @@ emit_value (ex_value_t *value, def_t *def)
}
} else {
cn = new_def (".imm", type, pr.near_data, st_static);
cn->offset = defspace_alloc_loc (pr.near_data, type_size (type));
}
cn->initialized = cn->constant = 1;
cn->nosave = 1;