static void ia32_build_between_type(void)
{
#define IDENT(s) new_id_from_chars(s, sizeof(s)-1)
- if (! between_type) {
+ if (between_type == NULL) {
ir_type *old_bp_type = new_type_primitive(mode_Iu);
ir_type *ret_addr_type = new_type_primitive(mode_Iu);
static void ia32_finish(void)
{
+ if (between_type != NULL) {
+ free_type(between_type);
+ between_type = NULL;
+ }
ia32_free_opcodes();
}
void ia32_calculate_non_address_mode_nodes(ir_graph *irg)
{
- be_lv_t *lv = be_assure_liveness(irg);
+ be_lv_t *lv = be_assure_liveness(irg);
non_address_mode_nodes = bitset_malloc(get_irg_last_idx(irg));