Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
e4f9141f
Commit
e4f9141f
authored
Mar 30, 2009
by
Moritz Kroll
Browse files
Renamed attr.sel.ent to attr.sel.entity
[r25749]
parent
ce3205fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
ir/ir/ircons.c
View file @
e4f9141f
...
...
@@ -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.
*/
res
=
new_ir_node
(
db
,
irg
,
block
,
op_Sel
,
mode
,
r_arity
,
r_in
);
res
->
attr
.
sel
.
ent
=
ent
;
res
->
attr
.
sel
.
ent
ity
=
ent
;
res
=
optimize_node
(
res
);
IRN_VRFY_IRG
(
res
,
irg
);
return
res
;
...
...
ir/ir/irnode.c
View file @
e4f9141f
...
...
@@ -1295,7 +1295,7 @@ set_Sel_index(ir_node *node, int pos, ir_node *index) {
ir_entity
*
get_Sel_entity
(
const
ir_node
*
node
)
{
assert
(
is_Sel
(
node
));
return
node
->
attr
.
sel
.
ent
;
return
node
->
attr
.
sel
.
ent
ity
;
}
/* need a version without const to prevent warning */
...
...
@@ -1306,7 +1306,7 @@ static ir_entity *_get_Sel_entity(ir_node *node) {
void
set_Sel_entity
(
ir_node
*
node
,
ir_entity
*
ent
)
{
assert
(
is_Sel
(
node
));
node
->
attr
.
sel
.
ent
=
ent
;
node
->
attr
.
sel
.
ent
ity
=
ent
;
}
...
...
ir/ir/irtypes.h
View file @
e4f9141f
...
...
@@ -174,7 +174,7 @@ typedef struct {
/** Sel attributes. */
typedef
struct
{
ir_entity
*
ent
;
/**< entity to select */
ir_entity
*
ent
ity
;
/**< entity to select */
}
sel_attr
;
/** Exception attributes. */
...
...
win32/firmEvaluator/firm.c
View file @
e4f9141f
...
...
@@ -538,7 +538,7 @@ static HRESULT format_node(DEBUGHELPER *pHelper, int nBase, const void *addr, ch
break
;
case
iro_Sel
:
_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
.
ent
ity
,
name
,
sizeof
(
name
),
0
)
!=
S_OK
)
return
E_FAIL
;
_tcsncat
(
pResult
,
name
,
max
);
_tcsncat
(
pResult
,
">"
,
max
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment