{
}
- ~value ()
- {
- if (VALUE_LVAL (this) == lval_computed)
- {
- const struct lval_funcs *funcs = m_location.computed.funcs;
-
- if (funcs->free_closure)
- funcs->free_closure (this);
- }
- else if (VALUE_LVAL (this) == lval_xcallable)
- delete m_location.xm_worker;
- }
+ ~value ();
DISABLE_COPY_AND_ASSIGN (value);
ULONGEST m_limited_length = 0;
};
+value::~value ()
+{
+ if (VALUE_LVAL (this) == lval_computed)
+ {
+ const struct lval_funcs *funcs = m_location.computed.funcs;
+
+ if (funcs->free_closure)
+ funcs->free_closure (this);
+ }
+ else if (VALUE_LVAL (this) == lval_xcallable)
+ delete m_location.xm_worker;
+}
+
/* See value.h. */
struct gdbarch *