projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41d0f73
)
ast2firm: Remove nonsensical case: You cannot take the address of a function call...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 9 Dec 2012 09:06:15 +0000
(10:06 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 9 Dec 2012 17:45:22 +0000
(18:45 +0100)
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
4389b53
..
c2277a9
100644
(file)
--- 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);
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:
case EXPR_COMPOUND_LITERAL:
return compound_literal_addr(&expression->compound_literal);
case EXPR_REFERENCE: