aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:40 -0700
commitaa1da9ed50fba2474438f83e6da577bb01ed4613 (patch)
tree067271ca5285eba37ef9c46f976ece55738d2981 /gdb/rust-lang.h
parent08a057e64bb74f4194a216f6693e04b1ad230f48 (diff)
downloadgdb-aa1da9ed50fba2474438f83e6da577bb01ed4613.zip
gdb-aa1da9ed50fba2474438f83e6da577bb01ed4613.tar.gz
gdb-aa1da9ed50fba2474438f83e6da577bb01ed4613.tar.bz2
Remove now-unused Rust evaluator code
Now that the Rust parser has switched to the new style, there is no need for the old Rust evaluation code. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * rust-lang.h (class rust_language) <expression_ops, exp_descriptor_tab>: Remove. * rust-lang.c (rust_evaluate_funcall): Remove. (rust_range, rust_subscript, eval_op_rust_complement): Don't use EVAL_SKIP. (rust_evaluate_subexp): Remove. (rust_aggregate_operation::evaluate): Don't use EVAL_SKIP. (rust_operator_length, rust_dump_subexp_body, rust_print_subexp) (rust_operator_check, rust_language::exp_descriptor_tab): Remove.
Diffstat (limited to 'gdb/rust-lang.h')
-rw-r--r--gdb/rust-lang.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/rust-lang.h b/gdb/rust-lang.h
index fb27f60..ec97cac 100644
--- a/gdb/rust-lang.h
+++ b/gdb/rust-lang.h
@@ -211,21 +211,11 @@ public:
/* See language.h. */
- const struct exp_descriptor *expression_ops () const override
- { return &exp_descriptor_tab; }
-
- /* See language.h. */
-
const struct op_print *opcode_print_table () const override
{ return c_op_print_tab; }
private:
- /* Table of expression handling functions for use by EXPRESSION_OPS
- member function. */
-
- static const struct exp_descriptor exp_descriptor_tab;
-
/* Helper for value_print_inner, arguments are as for that function.
Prints structs and untagged unions. */