summaryrefslogtreecommitdiffhomepage
path: root/src/firm/ast2firm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firm/ast2firm.c')
-rw-r--r--src/firm/ast2firm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firm/ast2firm.c b/src/firm/ast2firm.c
index e750915..dfe7de7 100644
--- a/src/firm/ast2firm.c
+++ b/src/firm/ast2firm.c
@@ -581,6 +581,7 @@ static bool declaration_is_definition(const entity_t *entity)
case ENTITY_COMPOUND_MEMBER:
return false;
case ENTITY_ASM_ARGUMENT:
+ case ENTITY_ASM_LABEL:
case ENTITY_CLASS:
case ENTITY_ENUM:
case ENTITY_ENUM_VALUE:
@@ -4959,6 +4960,7 @@ static ir_entity *get_irentity(entity_t *entity)
case ENTITY_FUNCTION: return entity->function.irentity;
case ENTITY_COMPOUND_MEMBER: return entity->compound_member.entity;
case ENTITY_ASM_ARGUMENT:
+ case ENTITY_ASM_LABEL:
case ENTITY_CLASS:
case ENTITY_ENUM:
case ENTITY_ENUM_VALUE: