projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216f13c
)
Do not refetch a value, which we already have.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 25 Apr 2012 12:37:06 +0000
(14:37 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 26 Apr 2012 07:57:54 +0000
(09:57 +0200)
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
f4ced40
..
441e3e3
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-1862,9
+1862,9
@@
static ir_node *call_expression_to_firm(const call_expression_t *const call)
type_t *arg_type = skip_typeref(expression->base.type);
if (!is_type_compound(arg_type)) {
- ir_mode *
mode = get_ir_mode_storage(expression->base.
type);
- arg_node
= create_conv(dbgi, arg_node, mode);
- arg_node
= do_strict_conv(dbgi, arg_node);
+ ir_mode *
const mode = get_ir_mode_storage(arg_
type);
+ arg_node = create_conv(dbgi, arg_node, mode);
+ arg_node = do_strict_conv(dbgi, arg_node);
}
in[n] = arg_node;