Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
b8b01a71
Commit
b8b01a71
authored
Mar 06, 2014
by
Matthias Braun
Browse files
NULL in the initializer field is allowed
parent
b40b2148
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/tr/entity.c
View file @
b8b01a71
...
...
@@ -585,6 +585,8 @@ static void check_entity_initializer(ir_entity *entity)
{
#ifndef NDEBUG
ir_initializer_t
*
initializer
=
entity
->
initializer
;
if
(
initializer
==
NULL
)
return
;
ir_type
*
entity_tp
=
get_entity_type
(
entity
);
switch
(
initializer
->
kind
)
{
case
IR_INITIALIZER_COMPOUND
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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