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
fab6775f
Commit
fab6775f
authored
Aug 30, 2007
by
Matthias Braun
Browse files
add be_get_FrameAddr_entity
[r15623]
parent
6da80fc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/benode.c
View file @
fab6775f
...
...
@@ -831,11 +831,17 @@ ir_node *be_new_FrameAddr(const arch_register_class_t *cls_frame, ir_graph *irg,
return
optimize_node
(
irn
);
}
ir_node
*
be_get_FrameAddr_frame
(
ir_node
*
node
)
{
ir_node
*
be_get_FrameAddr_frame
(
const
ir_node
*
node
)
{
assert
(
be_is_FrameAddr
(
node
));
return
get_irn_n
(
node
,
be_pos_FrameAddr_ptr
);
}
ir_entity
*
be_get_FrameAddr_entity
(
const
ir_node
*
node
)
{
const
be_frame_attr_t
*
attr
=
get_irn_generic_attr_const
(
node
);
return
attr
->
ent
;
}
ir_node
*
be_new_CopyKeep
(
const
arch_register_class_t
*
cls
,
ir_graph
*
irg
,
ir_node
*
bl
,
ir_node
*
src
,
int
n
,
ir_node
*
in_keep
[],
ir_mode
*
mode
)
{
ir_node
*
irn
;
...
...
ir/be/benode_t.h
View file @
fab6775f
...
...
@@ -184,7 +184,9 @@ enum {
ir_node
*
be_new_FrameAddr
(
const
arch_register_class_t
*
cls_frame
,
ir_graph
*
irg
,
ir_node
*
bl
,
ir_node
*
frame
,
ir_entity
*
ent
);
/** Return the frame input of a FrameAddr node. */
ir_node
*
be_get_FrameAddr_frame
(
ir_node
*
node
);
ir_node
*
be_get_FrameAddr_frame
(
const
ir_node
*
node
);
ir_entity
*
be_get_FrameAddr_entity
(
const
ir_node
*
node
);
/**
* Position numbers for the be_AddSP inputs
...
...
Write
Preview
Supports
Markdown
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