projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small bugfixes
[libfirm]
/
ir
/
be
/
bearch.c
diff --git
a/ir/be/bearch.c
b/ir/be/bearch.c
index
ac105f3
..
137f852
100644
(file)
--- a/
ir/be/bearch.c
+++ b/
ir/be/bearch.c
@@
-149,3
+149,9
@@
extern void arch_set_irn_register(const arch_env_t *env,
assert(idx >= 0);
ops->set_irn_reg(ops, irn, idx, reg);
}
+
+extern arch_irn_class_t arch_irn_classify(const arch_env_t *env, const ir_node *irn)
+{
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ return ops->classify(ops, irn);
+}