start register allocator again, fix typo
[libfirm] / ir / be / ppc32 / ppc32_new_nodes.c
index d4411d6..dce4963 100644 (file)
@@ -425,7 +425,7 @@ ident *get_ppc32_symconst_ident(const ir_node *node) {
 /**
  * Sets an entity (also updating the content_type)
  */
-void set_ppc32_frame_entity(const ir_node *node, entity *ent) {
+void set_ppc32_frame_entity(const ir_node *node, ir_entity *ent) {
        ppc32_attr_t *attr = get_ppc32_attr(node);
        attr->content_type = ppc32_ac_FrameEntity;
        attr->data.frame_entity = ent;
@@ -434,7 +434,7 @@ void set_ppc32_frame_entity(const ir_node *node, entity *ent) {
 /**
  * Returns an entity
  */
-entity *get_ppc32_frame_entity(const ir_node *node) {
+ir_entity *get_ppc32_frame_entity(const ir_node *node) {
        ppc32_attr_t *attr = get_ppc32_attr(node);
        return attr->data.frame_entity;
 }
@@ -514,7 +514,7 @@ ppc32_attr_offset_mode get_ppc32_offset_mode(const ir_node *node) {
  */
 void init_ppc32_attributes(ir_node *node, int flags,
                                                 const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs,
-                                                const be_execution_unit_t **execution_units,
+                                                const be_execution_unit_t ***execution_units,
                                                 int n_res, unsigned latency) {
        ppc32_attr_t *attr = get_ppc32_attr(node);