projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10cfed
)
Add missing skip_typeref() in select_to_firm().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 17 Nov 2007 19:54:02 +0000
(19:54 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 17 Nov 2007 19:54:02 +0000
(19:54 +0000)
[r18461]
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
f0be12e
..
71dce36
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-1329,7
+1329,7
@@
static ir_node *select_to_firm(const select_expression_t *expression)
{
dbg_info *dbgi = get_dbg_info(&expression->expression.source_position);
ir_node *addr = select_addr(expression);
- type_t *type =
expression->expression.datatype
;
+ type_t *type =
skip_typeref(expression->expression.datatype)
;
return deref_address(type, addr, dbgi);
}