Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
fa526598
Commit
fa526598
authored
Nov 17, 2011
by
Matthias Braun
Browse files
inline: we can't inline blocks with entities
parent
910e0442
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/opt_inline.c
View file @
fa526598
...
...
@@ -145,7 +145,13 @@ static void find_addr(ir_node *node, void *env)
{
bool
*
allow_inline
=
(
bool
*
)
env
;
if
(
is_Sel
(
node
))
{
if
(
is_Block
(
node
)
&&
get_Block_entity
(
node
))
{
/**
* Currently we can't handle blocks whose address was taken correctly
* when inlining
*/
*
allow_inline
=
false
;
}
else
if
(
is_Sel
(
node
))
{
ir_graph
*
irg
=
current_ir_graph
;
if
(
get_Sel_ptr
(
node
)
==
get_irg_frame
(
irg
))
{
/* access to frame */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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