added new callback to set frame entity
[libfirm] / ir / be / bearch.c
index 23f023f..f25d0df 100644 (file)
@@ -107,6 +107,12 @@ entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn)
   return ops->impl->get_frame_entity(ops, irn);
 }
 
+void arch_set_frame_entity(const arch_env_t *env, ir_node *irn, entity *ent)
+{
+       const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+       ops->impl->set_frame_entity(ops, irn, ent);
+}
+
 arch_inverse_t *arch_get_inverse(const arch_env_t *env, const ir_node *irn, int i, arch_inverse_t *inverse, struct obstack *obstack)
 {
   const arch_irn_ops_t *ops = get_irn_ops(env, irn);