Commit e4f9141f authored by Moritz Kroll's avatar Moritz Kroll
Browse files

Renamed attr.sel.ent to attr.sel.entity

[r25749]
parent ce3205fb
...@@ -633,7 +633,7 @@ new_bd_Sel(dbg_info *db, ir_node *block, ir_node *store, ir_node *objptr, ...@@ -633,7 +633,7 @@ new_bd_Sel(dbg_info *db, ir_node *block, ir_node *store, ir_node *objptr,
* Sel's can select functions which should be of mode mode_P_code. * Sel's can select functions which should be of mode mode_P_code.
*/ */
res = new_ir_node(db, irg, block, op_Sel, mode, r_arity, r_in); res = new_ir_node(db, irg, block, op_Sel, mode, r_arity, r_in);
res->attr.sel.ent = ent; res->attr.sel.entity = ent;
res = optimize_node(res); res = optimize_node(res);
IRN_VRFY_IRG(res, irg); IRN_VRFY_IRG(res, irg);
return res; return res;
......
...@@ -1295,7 +1295,7 @@ set_Sel_index(ir_node *node, int pos, ir_node *index) { ...@@ -1295,7 +1295,7 @@ set_Sel_index(ir_node *node, int pos, ir_node *index) {
ir_entity * ir_entity *
get_Sel_entity(const ir_node *node) { get_Sel_entity(const ir_node *node) {
assert(is_Sel(node)); assert(is_Sel(node));
return node->attr.sel.ent; return node->attr.sel.entity;
} }
/* need a version without const to prevent warning */ /* need a version without const to prevent warning */
...@@ -1306,7 +1306,7 @@ static ir_entity *_get_Sel_entity(ir_node *node) { ...@@ -1306,7 +1306,7 @@ static ir_entity *_get_Sel_entity(ir_node *node) {
void void
set_Sel_entity(ir_node *node, ir_entity *ent) { set_Sel_entity(ir_node *node, ir_entity *ent) {
assert(is_Sel(node)); assert(is_Sel(node));
node->attr.sel.ent = ent; node->attr.sel.entity = ent;
} }
......
...@@ -174,7 +174,7 @@ typedef struct { ...@@ -174,7 +174,7 @@ typedef struct {
/** Sel attributes. */ /** Sel attributes. */
typedef struct { typedef struct {
ir_entity *ent; /**< entity to select */ ir_entity *entity; /**< entity to select */
} sel_attr; } sel_attr;
/** Exception attributes. */ /** Exception attributes. */
......
...@@ -538,7 +538,7 @@ static HRESULT format_node(DEBUGHELPER *pHelper, int nBase, const void *addr, ch ...@@ -538,7 +538,7 @@ static HRESULT format_node(DEBUGHELPER *pHelper, int nBase, const void *addr, ch
break; break;
case iro_Sel: case iro_Sel:
_tcsncat(pResult, "<", max); _tcsncat(pResult, "<", max);
if (format_entity(pHelper, nBase, n.attr.sel.ent, name, sizeof(name), 0) != S_OK) if (format_entity(pHelper, nBase, n.attr.sel.entity, name, sizeof(name), 0) != S_OK)
return E_FAIL; return E_FAIL;
_tcsncat(pResult, name, max); _tcsncat(pResult, name, max);
_tcsncat(pResult, ">", max); _tcsncat(pResult, ">", max);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment