slight bugfix
[libfirm] / ir / be / bearch.h
index 2f5369f..e6d1431 100644 (file)
@@ -286,7 +286,7 @@ struct _arch_irn_ops_if_t {
    * @param irn  The node in question.
    * @param ent  The entity to set
    */
-  void (*set_frame_entity)(const void *self, const ir_node *irn, entity *ent);
+  void (*set_frame_entity)(const void *self, ir_node *irn, entity *ent);
 
   /**
    * Set the offset of a node carrying an entity on the stack frame.
@@ -348,6 +348,8 @@ struct _arch_irn_ops_t {
        const arch_irn_ops_if_t *impl;
 };
 
+extern const arch_irn_ops_t *arch_get_irn_ops(const arch_env_t *env, const ir_node *irn);
+
 extern void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int bias);
 
 extern entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn);