Fix warnings and dependency

This commit is contained in:
Michael Meissner 1995-11-14 09:52:29 +00:00
parent f3d4003ea3
commit ac79ccd41d
3 changed files with 9 additions and 17 deletions

View File

@ -1,3 +1,10 @@
Tue Nov 14 04:47:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* Makefile.in (devices.o): Update dependency.
* igen.c (gen_model_h): Use correct variable in loop.
(lf_print_c_semantic_function_header): Delete unused function.
Mon Nov 13 09:14:13 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* igen.c ({insn,model}_table_fields): Spell mnemonic correctly.

View File

@ -319,7 +319,7 @@ spreg.o: spreg.h spreg.c words.h
main.o: main.c $(PSIM_H) function_unit.h itable.h options.h
devices.o: devices.c devices.h $(BASICS_H) \
devices.o: devices.c devices.h $(CPU_H) \
device_tree.h events.h
device_tree.o: device_tree.c device_tree.h devices.h $(BASICS_H)

View File

@ -2267,21 +2267,6 @@ lf_print_c_semantic(lf *file,
lf_printf(file, "}\n");
}
static void
lf_print_c_semantic_function_header(lf *file,
char *basename,
insn_bits *expanded_bits)
{
lf_printf(file, "\n");
lf_printf(file, "STATIC_SEMANTICS unsigned_word\n");
lf_print_function_name(file,
basename,
expanded_bits,
function_name_prefix_semantics);
lf_printf(file, "\n(%s)\n",
(idecode_cache ? cache_semantic_formal : semantic_formal));
}
static void
lf_print_c_semantic_function(lf *file,
insn *instruction,
@ -3084,7 +3069,7 @@ gen_model_h(insn_table *table, lf *file)
lf_printf(file, "\n");
for(macro = model_macros; macro; macro = macro->next) {
model_c_or_h_data(table, file, insn_ptr->file_entry);
model_c_or_h_data(table, file, macro->file_entry);
}
lf_printf(file, "#ifndef INLINE_MODEL\n");