right... instead of checking for end_sys_globals twice, maybe ACTUALLY check for end_sys_fields too...

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-21 15:50:53 +02:00
parent 93856bf151
commit 8f4333df30

2
ir.c
View file

@ -2638,7 +2638,7 @@ static bool ir_builder_gen_global(ir_builder *self, ir_value *global)
* should be checksummed and added to progdefs.h when we generate it.
*/
}
else if (!strcmp(global->name, "end_sys_globals")) {
else if (!strcmp(global->name, "end_sys_fields")) {
/* TODO: same as above but for entity-fields rather than globsl
*/
}