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
59829798
Commit
59829798
authored
Apr 29, 2016
by
Christoph Mallon
Browse files
tr: Reduce code duplication.
parent
0b5c6b75
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/tr/type.c
View file @
59829798
...
...
@@ -812,8 +812,7 @@ ir_node *get_array_size(const ir_type *array)
unsigned
get_array_size_int
(
const
ir_type
*
array
)
{
assert
(
is_Array_type
(
array
));
ir_node
*
node
=
array
->
attr
.
array
.
size
;
ir_node
*
const
node
=
get_array_size
(
array
);
return
get_Const_long
(
node
);
}
...
...
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