projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use is_$KIND(n) instead of get_irn_op(n) == op_$KIND.
[libfirm]
/
ir
/
be
/
arm
/
bearch_arm.c
diff --git
a/ir/be/arm/bearch_arm.c
b/ir/be/arm/bearch_arm.c
index
8e3a3af
..
a92f56c
100644
(file)
--- a/
ir/be/arm/bearch_arm.c
+++ b/
ir/be/arm/bearch_arm.c
@@
-433,6
+433,11
@@
static void arm_init(void)
arm_create_opcodes(&arm_irn_ops);
}
arm_create_opcodes(&arm_irn_ops);
}
+static void arm_finish(void)
+{
+ arm_free_opcodes();
+}
+
static arch_env_t *arm_begin_codegeneration(const be_main_env_t *env)
{
arm_isa_t *isa = XMALLOC(arm_isa_t);
static arch_env_t *arm_begin_codegeneration(const be_main_env_t *env)
{
arm_isa_t *isa = XMALLOC(arm_isa_t);
@@
-564,6
+569,7
@@
static const lc_opt_table_entry_t arm_options[] = {
const arch_isa_if_t arm_isa_if = {
arm_init,
const arch_isa_if_t arm_isa_if = {
arm_init,
+ arm_finish,
arm_get_libfirm_params,
arm_lower_for_target,
arm_parse_asm_constraint,
arm_get_libfirm_params,
arm_lower_for_target,
arm_parse_asm_constraint,