From: Christoph Mallon Date: Sun, 9 Dec 2012 09:06:15 +0000 (+0100) Subject: ast2firm: Remove nonsensical case: You cannot take the address of a function call... X-Git-Url: http://nsz.repo.hu/git/?p=cparser;a=commitdiff_plain;h=7816b50631d689e88757f93dcbff5e30669a4c17 ast2firm: Remove nonsensical case: You cannot take the address of a function call result. --- diff --git a/ast2firm.c b/ast2firm.c index 4389b53..c2277a9 100644 --- a/ast2firm.c +++ b/ast2firm.c @@ -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: