Align with latest TomB version 1.0.0
This commit is contained in:
parent
3f743e49be
commit
c5610e7acd
103 changed files with 66138 additions and 15463 deletions
|
@ -3076,10 +3076,10 @@ main (int argc, char **argv)
|
|||
read_table68k ();
|
||||
do_merges ();
|
||||
|
||||
opcode_map = (int *) malloc (sizeof (int) * nr_cpuop_funcs);
|
||||
opcode_last_postfix = (int *) malloc (sizeof (int) * nr_cpuop_funcs);
|
||||
opcode_next_clev = (int *) malloc (sizeof (int) * nr_cpuop_funcs);
|
||||
counts = (unsigned long *) malloc (65536 * sizeof (unsigned long));
|
||||
opcode_map = (int *) xmalloc (sizeof (int) * nr_cpuop_funcs);
|
||||
opcode_last_postfix = (int *) xmalloc (sizeof (int) * nr_cpuop_funcs);
|
||||
opcode_next_clev = (int *) xmalloc (sizeof (int) * nr_cpuop_funcs);
|
||||
counts = (unsigned long *) xmalloc (65536 * sizeof (unsigned long));
|
||||
read_counts ();
|
||||
|
||||
/* It would be a lot nicer to put all in one file (we'd also get rid of
|
||||
|
@ -3098,23 +3098,23 @@ main (int argc, char **argv)
|
|||
noflags=0;
|
||||
generate_func (noflags);
|
||||
|
||||
free(opcode_map);
|
||||
free(opcode_last_postfix);
|
||||
free(opcode_next_clev);
|
||||
free(counts);
|
||||
xfree(opcode_map);
|
||||
xfree(opcode_last_postfix);
|
||||
xfree(opcode_next_clev);
|
||||
xfree(counts);
|
||||
|
||||
opcode_map = (int *) malloc (sizeof (int) * nr_cpuop_funcs);
|
||||
opcode_last_postfix = (int *) malloc (sizeof (int) * nr_cpuop_funcs);
|
||||
opcode_next_clev = (int *) malloc (sizeof (int) * nr_cpuop_funcs);
|
||||
counts = (unsigned long *) malloc (65536 * sizeof (unsigned long));
|
||||
opcode_map = (int *) xmalloc (sizeof (int) * nr_cpuop_funcs);
|
||||
opcode_last_postfix = (int *) xmalloc (sizeof (int) * nr_cpuop_funcs);
|
||||
opcode_next_clev = (int *) xmalloc (sizeof (int) * nr_cpuop_funcs);
|
||||
counts = (unsigned long *) xmalloc (65536 * sizeof (unsigned long));
|
||||
read_counts ();
|
||||
noflags=1;
|
||||
generate_func (noflags);
|
||||
|
||||
free(opcode_map);
|
||||
free(opcode_last_postfix);
|
||||
free(opcode_next_clev);
|
||||
free(counts);
|
||||
xfree(opcode_map);
|
||||
xfree(opcode_last_postfix);
|
||||
xfree(opcode_next_clev);
|
||||
xfree(counts);
|
||||
|
||||
printf ("#endif\n");
|
||||
fprintf (stblfile, "#endif\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue