Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
7f3f442a
Commit
7f3f442a
authored
Jul 25, 2015
by
Matthias Braun
Browse files
irnode: No need to set fields to 0 after OALLOCZ
parent
17098c74
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
7f3f442a
...
...
@@ -87,9 +87,7 @@ ir_node *new_ir_node(dbg_info *db, ir_graph *irg, ir_node *block, ir_op *op,
res
->
op
=
op
;
res
->
mode
=
mode
;
res
->
irg
=
irg
;
res
->
visited
=
0
;
res
->
node_idx
=
irg_register_node_idx
(
irg
,
res
);
res
->
link
=
NULL
;
if
(
arity
<
0
)
{
res
->
in
=
NEW_ARR_F
(
ir_node
*
,
1
);
/* 1: space for block */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment