chore(kernel/expr): remove dead code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
2368c936d3
commit
7fb0aa4800
2 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
Loading…
Reference in a new issue