mips - for r5900 generate igen simulator.

igen - stop crash when simulator isn't multi-sim'ed
This commit is contained in:
Andrew Cagney
1998-01-31 06:56:13 +00:00
parent 6271cadd10
commit c4db5b04f8
5 changed files with 28 additions and 12 deletions

View File

@@ -727,7 +727,9 @@ gen_engine_h (lf *file,
for (entry = gen->tables; entry != NULL; entry = entry->next)
{
print_engine_run_function_header (file,
entry->model->name,
(options.gen.multi_sim
? entry->model->name
: NULL),
is_function_declaration);
}
}
@@ -765,7 +767,9 @@ gen_engine_c(lf *file,
/* output the main engine routine */
print_engine_run_function_header (file,
entry->model->name,
(options.gen.multi_sim
? entry->model->name
: NULL),
is_function_definition);
print_run_body (file, entry->table);
break;