@@ -196,8 +196,12 @@ make_operation (Arg... args)
struct expression
{
- expression (const struct language_defn *, struct gdbarch *);
- ~expression ();
+ expression (const struct language_defn *lang, struct gdbarch *arch)
+ : language_defn (lang),
+ gdbarch (arch)
+ {
+ }
+
DISABLE_COPY_AND_ASSIGN (expression);
/* Return the opcode for the outermost sub-expression of this
@@ -105,16 +105,6 @@ expr_builder::release ()
return std::move (expout);
}
-expression::expression (const struct language_defn *lang, struct gdbarch *arch)
- : language_defn (lang),
- gdbarch (arch)
-{
-}
-
-expression::~expression ()
-{
-}
-
/* Return the type of MSYMBOL, a minimal symbol of OBJFILE. If
ADDRESS_P is not NULL, set it to the MSYMBOL's resolved
address. */