From 7816b50631d689e88757f93dcbff5e30669a4c17 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sun, 9 Dec 2012 10:06:15 +0100 Subject: [PATCH] ast2firm: Remove nonsensical case: You cannot take the address of a function call result. --- ast2firm.c | 2 -- 1 file changed, 2 deletions(-) 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: -- 2.20.1