aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/igen.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-11-14 09:52:29 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-11-14 09:52:29 +0000
commitac79ccd41d788a8d44ccfee910021df3e227517a (patch)
tree69d65f5c8fdd49e264460fa7ddeefdd19b48653f /sim/ppc/igen.c
parentf3d4003ea3e1debc7bec259f4ff805a4de2a5ef7 (diff)
downloadgdb-ac79ccd41d788a8d44ccfee910021df3e227517a.zip
gdb-ac79ccd41d788a8d44ccfee910021df3e227517a.tar.gz
gdb-ac79ccd41d788a8d44ccfee910021df3e227517a.tar.bz2
Fix warnings and dependency
Diffstat (limited to 'sim/ppc/igen.c')
-rw-r--r--sim/ppc/igen.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sim/ppc/igen.c b/sim/ppc/igen.c
index 4eb2310..be84fa8 100644
--- a/sim/ppc/igen.c
+++ b/sim/ppc/igen.c
@@ -2268,21 +2268,6 @@ lf_print_c_semantic(lf *file,
}
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,
insn_bits *expanded_bits,
@@ -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");