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
a32d0c48
Commit
a32d0c48
authored
Jul 27, 2011
by
Christoph Mallon
Browse files
Remove unnecessary explicit array length spcification.
parent
a1c957ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
a32d0c48
...
...
@@ -5894,7 +5894,7 @@ static ir_node *transform_node_Load(ir_node *n)
ir_node
*
bad
=
new_r_Bad
(
irg
,
mode_X
);
ir_mode
*
mode
=
get_Load_mode
(
n
);
ir_node
*
res
=
new_r_Proj
(
pred_load
,
mode
,
pn_Load_res
);
ir_node
*
in
[
pn_Load_max
+
1
]
=
{
mem
,
res
,
jmp
,
bad
};
ir_node
*
in
[]
=
{
mem
,
res
,
jmp
,
bad
};
ir_node
*
tuple
=
new_r_Tuple
(
block
,
ARRAY_SIZE
(
in
),
in
);
return
tuple
;
}
...
...
@@ -5914,7 +5914,7 @@ static ir_node *transform_node_Load(ir_node *n)
ir_graph
*
irg
=
get_irn_irg
(
n
);
ir_node
*
bad
=
new_r_Bad
(
irg
,
mode_X
);
ir_node
*
res
=
value
;
ir_node
*
in
[
pn_Load_max
+
1
]
=
{
mem
,
res
,
jmp
,
bad
};
ir_node
*
in
[]
=
{
mem
,
res
,
jmp
,
bad
};
ir_node
*
tuple
=
new_r_Tuple
(
block
,
ARRAY_SIZE
(
in
),
in
);
return
tuple
;
}
...
...
Write
Preview
Markdown
is supported
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