ast2firm: Remove nonsensical case: You cannot take the address of a function call...
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 9 Dec 2012 09:06:15 +0000 (10:06 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 9 Dec 2012 17:45:22 +0000 (18:45 +0100)
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: