diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2011-07-08 02:27:18 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2011-07-08 02:27:18 +0000 |
commit | 7e60d30187f19a9007dc59d3d5aed847d3dada95 (patch) | |
tree | b7d07a72a90acbb6e3b33f70a1694fa15d454e78 /sim/igen/ld-insn.c | |
parent | 26e0f8dbd817f65f3618ea14e8694d5f80eb487f (diff) | |
download | fsf-binutils-gdb-7e60d30187f19a9007dc59d3d5aed847d3dada95.zip fsf-binutils-gdb-7e60d30187f19a9007dc59d3d5aed847d3dada95.tar.gz fsf-binutils-gdb-7e60d30187f19a9007dc59d3d5aed847d3dada95.tar.bz2 |
Remove all #if 0'd code.
* filter.c: Remove #if 0'd function it_is.
(main): Remove #if 0'd code.
* gen-engine.c: Remove #if 0'd functions print_jump,
print_jump_insn, print_jump_definition,
print_jump_internal_function, print_jump_body.
(gen_engine_c): Remove #if 0'd code.
* gen-idecode.c: Remove #if 0'd functions print_jump print_jump,
print_jump_insn, print_jump_definition,
print_jump_internal_function, print_jump_until_stop_body.
* gen-model.c: Remove #if 0'd functions model_c_or_h_data,
model_c_or_h_function, gen_model_h, model_c_insn,
model_c_function, gen_model_c and types model_c_passed_data
and struct _model_c_passed_data.
* gen.c: Remove #if 0'd type constant_field_types and function
insn_field_is_constant.
(gen_entry_find_opcode_field): Remove #if 0'd code.
* ld-insn.c (parse_insn_model_record): Remove #if 0'd code.
* misc.h (STRDUP, STRNDUP): Remove #if 0'd macros.
Diffstat (limited to 'sim/igen/ld-insn.c')
-rw-r--r-- | sim/igen/ld-insn.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sim/igen/ld-insn.c b/sim/igen/ld-insn.c index 6c1d496..86506ea 100644 --- a/sim/igen/ld-insn.c +++ b/sim/igen/ld-insn.c @@ -874,13 +874,6 @@ parse_insn_model_record (table *file, filter_parse (&insn->processors, name); } } -#if 0 - /* for some reason record the max length of any - function unit field */ - int len = strlen (insn_model_ptr->field[insn_model_fields]); - if (model->max_model_fields_len < len) - model->max_model_fields_len = len; -#endif /* link it in */ last_insn_model = &insn->models; while ((*last_insn_model) != NULL) |