projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e526d79
)
Fix explicit dereferencing of function pointers.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 17 Dec 2007 18:22:26 +0000
(18:22 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 17 Dec 2007 18:22:26 +0000
(18:22 +0000)
[r18787]
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
5b327b6
..
d9eae5b
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-1045,7
+1045,9
@@
static ir_node *wide_string_literal_to_firm(
static ir_node *deref_address(ir_type *const irtype, ir_node *const addr,
dbg_info *const dbgi)
{
- if(is_compound_type(irtype) || is_Array_type(irtype)) {
+ if (is_compound_type(irtype) ||
+ is_Method_type(irtype) ||
+ is_Array_type(irtype)) {
return addr;
}