removing this dead code_init call

This commit is contained in:
Wolfgang Bumiller 2013-05-07 19:59:06 +02:00
parent c5225b2fa1
commit 4d0a5af475
2 changed files with 1 additions and 2 deletions

View file

@ -734,6 +734,7 @@ typedef struct {
* code_pop_statement -- keeps statements and linenumbers together
*/
bool code_write (code_t *, const char *filename, const char *lno);
GMQCC_WARN
code_t *code_init (void);
void code_cleanup (code_t *);
uint32_t code_genstring (code_t *, const char *string);

2
ir.c
View file

@ -3570,8 +3570,6 @@ bool ir_builder_generate(code_t *code, ir_builder *self, const char *filename)
size_t i;
char *lnofile = NULL;
code_init();
for (i = 0; i < vec_size(self->fields); ++i)
{
ir_builder_prepare_field(code, self->fields[i]);