Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
f84b4c9f
Commit
f84b4c9f
authored
Dec 15, 2011
by
Matthias Braun
Browse files
ia32: free between type in ia32_finish
parent
6cd6e689
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/bearch_ia32.c
View file @
f84b4c9f
...
...
@@ -253,7 +253,7 @@ static int ia32_get_sp_bias(const ir_node *node)
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
);
...
...
@@ -1768,6 +1768,10 @@ static void ia32_init(void)
static
void
ia32_finish
(
void
)
{
if
(
between_type
!=
NULL
)
{
free_type
(
between_type
);
between_type
=
NULL
;
}
ia32_free_opcodes
();
}
...
...
ir/be/ia32/ia32_address_mode.c
View file @
f84b4c9f
...
...
@@ -525,7 +525,7 @@ static void mark_non_address_nodes(ir_node *node, void *env)
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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment