More function flatening

This commit is contained in:
Dale Weiler 2013-04-14 01:14:14 +00:00
parent 3e7340c52c
commit ccc2eb3298
5 changed files with 6 additions and 6 deletions

2
ast.c
View file

@ -42,7 +42,7 @@ static GMQCC_NORETURN void _ast_node_destroy(ast_node *self)
{ {
(void)self; (void)self;
con_err("ast node missing destroy()\n"); con_err("ast node missing destroy()\n");
abort(); exit(EXIT_FAILURE);
} }
/* Initialize main ast node aprts */ /* Initialize main ast node aprts */

2
fs.c
View file

@ -53,7 +53,7 @@
) { ) {
wprintf(L"Invalid parameter dectected %s:%d %s [%s]\n", file, line, function, expression); wprintf(L"Invalid parameter dectected %s:%d %s [%s]\n", file, line, function, expression);
wprintf(L"Aborting ...\n"); wprintf(L"Aborting ...\n");
abort(); exit(EXIT_FAILURE);
} }
static void file_init() { static void file_init() {

2
ir.c
View file

@ -1651,7 +1651,7 @@ void ir_phi_add(ir_instr* self, ir_block *b, ir_value *v)
* is doing something wrong. * is doing something wrong.
*/ */
irerror(self->context, "Invalid entry block for PHI"); irerror(self->context, "Invalid entry block for PHI");
abort(); exit(EXIT_FAILURE);
} }
pe.value = v; pe.value = v;

4
test.c
View file

@ -315,7 +315,7 @@ bool task_template_generate(task_template_t *tmpl, char tag, const char *file, s
if (strchr(value, '\n')) if (strchr(value, '\n'))
*strrchr(value, '\n')='\0'; *strrchr(value, '\n')='\0';
else /* cppcheck: possible nullpointer dereference */ else /* cppcheck: possible nullpointer dereference */
abort(); exit(EXIT_FAILURE);
/* /*
* Now allocate and set the actual value for the specific tag. Which * Now allocate and set the actual value for the specific tag. Which
@ -428,7 +428,7 @@ bool task_template_parse(const char *file, task_template_t *tmpl, FILE *fp, size
if (strrchr(value, '\n')) if (strrchr(value, '\n'))
*strrchr(value, '\n')='\0'; *strrchr(value, '\n')='\0';
else /* cppcheck: possible null pointer dereference */ else /* cppcheck: possible null pointer dereference */
abort(); exit(EXIT_FAILURE);
vec_push(tmpl->comparematch, util_strdup(value)); vec_push(tmpl->comparematch, util_strdup(value));

2
util.c
View file

@ -253,7 +253,7 @@ void util_endianswap(void *_data, size_t length, unsigned int typesize) {
util_swap64((uint32_t*)_data, length>>3); util_swap64((uint32_t*)_data, length>>3);
return; return;
default: abort(); /* please blow the fuck up! */ default: exit(EXIT_FAILURE); /* please blow the fuck up! */
} }
# endif # endif
#endif #endif