ast2firm: Remove nonsensical case: You cannot take the address of a function call...
[cparser] / ast2firm.c
index 4389b53..c2277a9 100644 (file)
@@ -3205,8 +3205,6 @@ static ir_node *expression_to_addr(const expression_t *expression)
        switch(expression->kind) {
        case EXPR_ARRAY_ACCESS:
                return array_access_addr(&expression->array_access);
-       case EXPR_CALL:
-               return call_expression_to_firm(&expression->call);
        case EXPR_COMPOUND_LITERAL:
                return compound_literal_addr(&expression->compound_literal);
        case EXPR_REFERENCE: