projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a7036
)
don't mark functions without prototype as variadic
author
Matthias Braun
<matze@braunis.de>
Thu, 14 May 2009 22:24:21 +0000
(22:24 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 14 May 2009 22:24:21 +0000
(22:24 +0000)
[r25963]
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
5ab49ec
..
24f4d1a
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-380,7
+380,7
@@
static ir_type *create_method_type(const function_type_t *function_type, bool fo
++n;
}
- bool is_variadic = function_type->variadic
|| function_type->unspecified_parameters
;
+ bool is_variadic = function_type->variadic;
if (is_variadic)
set_method_variadicity(irtype, variadicity_variadic);