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
0b5edf21
Commit
0b5edf21
authored
Nov 28, 2014
by
Matthias Braun
Browse files
arm: fix arm_get_frame_entity() asking non-arm nodes for arm attributes
parent
62455af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/arm/arm_finish.c
View file @
0b5edf21
...
...
@@ -157,7 +157,8 @@ static ir_entity *arm_get_frame_entity(const ir_node *irn)
{
if
(
be_is_MemPerm
(
irn
))
return
be_get_MemPerm_in_entity
(
irn
,
0
);
if
(
!
is_arm_irn
(
irn
))
return
NULL
;
const
arm_attr_t
*
attr
=
get_arm_attr_const
(
irn
);
if
(
is_arm_FrameAddr
(
irn
))
{
const
arm_Address_attr_t
*
frame_attr
=
get_arm_Address_attr_const
(
irn
);
...
...
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