Commit 0b5edf21 authored by Matthias Braun's avatar Matthias Braun
Browse files

arm: fix arm_get_frame_entity() asking non-arm nodes for arm attributes

parent 62455af0
......@@ -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);
Markdown is supported
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