[v3,197/206] Remove OP_EXTENDED0

Message ID 20210220201609.838264-198-tom@tromey.com
State New
Headers show
Series
  • Refactor expressions
Related show

Commit Message

Tom Tromey Feb. 20, 2021, 8:16 p.m.
OP_EXTENDED0 was only used for an assertion in the code to rewrite an
expression into prefix form.  That code is gone, so this patch removes
the constant.

gdb/ChangeLog
2021-02-20  Tom Tromey  <tom@tromey.com>

	* std-operator.def (OP_EXTENDED0): Remove.
---
 gdb/ChangeLog        | 4 ++++
 gdb/std-operator.def | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.26.2

Patch

diff --git a/gdb/std-operator.def b/gdb/std-operator.def
index f2710da41fe..4d298fafeed 100644
--- a/gdb/std-operator.def
+++ b/gdb/std-operator.def
@@ -326,10 +326,6 @@  OP (OP_TYPEID)
    takes two expression arguments.  */
 OP (OP_RUST_ARRAY)
 
-/* First extension operator.  Some language modules define extra
-   operators below with numbers higher than OP_EXTENDED0.  */
-OP (OP_EXTENDED0)
-
 /* ================ Ada operators ================ */
 
 /* X IN A'RANGE(N).  N is an immediate operand, surrounded by