mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 06:02:22 +00:00
More function flatening
This commit is contained in:
parent
3e7340c52c
commit
ccc2eb3298
5 changed files with 6 additions and 6 deletions
2
ast.c
2
ast.c
|
@ -42,7 +42,7 @@ static GMQCC_NORETURN void _ast_node_destroy(ast_node *self)
|
|||
{
|
||||
(void)self;
|
||||
con_err("ast node missing destroy()\n");
|
||||
abort();
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* Initialize main ast node aprts */
|
||||
|
|
2
fs.c
2
fs.c
|
@ -53,7 +53,7 @@
|
|||
) {
|
||||
wprintf(L"Invalid parameter dectected %s:%d %s [%s]\n", file, line, function, expression);
|
||||
wprintf(L"Aborting ...\n");
|
||||
abort();
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
static void file_init() {
|
||||
|
|
2
ir.c
2
ir.c
|
@ -1651,7 +1651,7 @@ void ir_phi_add(ir_instr* self, ir_block *b, ir_value *v)
|
|||
* is doing something wrong.
|
||||
*/
|
||||
irerror(self->context, "Invalid entry block for PHI");
|
||||
abort();
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
pe.value = v;
|
||||
|
|
4
test.c
4
test.c
|
@ -315,7 +315,7 @@ bool task_template_generate(task_template_t *tmpl, char tag, const char *file, s
|
|||
if (strchr(value, '\n'))
|
||||
*strrchr(value, '\n')='\0';
|
||||
else /* cppcheck: possible nullpointer dereference */
|
||||
abort();
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
/*
|
||||
* 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'))
|
||||
*strrchr(value, '\n')='\0';
|
||||
else /* cppcheck: possible null pointer dereference */
|
||||
abort();
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
vec_push(tmpl->comparematch, util_strdup(value));
|
||||
|
||||
|
|
2
util.c
2
util.c
|
@ -253,7 +253,7 @@ void util_endianswap(void *_data, size_t length, unsigned int typesize) {
|
|||
util_swap64((uint32_t*)_data, length>>3);
|
||||
return;
|
||||
|
||||
default: abort(); /* please blow the fuck up! */
|
||||
default: exit(EXIT_FAILURE); /* please blow the fuck up! */
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue