chore(kernel/expr): remove dead code

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-01-15 17:24:31 -08:00
parent 2368c936d3
commit 7fb0aa4800
2 changed files with 0 additions and 2 deletions

View file

@ -103,7 +103,6 @@ expr_app::expr_app(unsigned num_args, bool has_mv):
expr_cell(expr_kind::App, 0, has_mv), expr_cell(expr_kind::App, 0, has_mv),
m_num_args(num_args) { m_num_args(num_args) {
} }
expr_app::~expr_app() {}
void expr_app::dealloc(buffer<expr_cell*> & todelete) { void expr_app::dealloc(buffer<expr_cell*> & todelete) {
unsigned i = m_num_args; unsigned i = m_num_args;
while (i > 0) { while (i > 0) {

View file

@ -208,7 +208,6 @@ class expr_app : public expr_cell {
void dealloc(buffer<expr_cell*> & todelete); void dealloc(buffer<expr_cell*> & todelete);
public: public:
expr_app(unsigned size, bool has_mv); expr_app(unsigned size, bool has_mv);
~expr_app();
unsigned get_num_args() const { return m_num_args; } unsigned get_num_args() const { return m_num_args; }
expr const & get_arg(unsigned idx) const { lean_assert(idx < m_num_args); return m_args[idx]; } expr const & get_arg(unsigned idx) const { lean_assert(idx < m_num_args); return m_args[idx]; }
expr const * begin_args() const { return m_args; } expr const * begin_args() const { return m_args; }