summaryrefslogtreecommitdiff
path: root/expr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'expr.cc')
-rw-r--r--expr.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/expr.cc b/expr.cc
index 263df13d..c326944f 100644
--- a/expr.cc
+++ b/expr.cc
@@ -125,11 +125,6 @@ value_t expr_t::calc(scope_t& scope)
return NULL_VALUE;
}
-value_t expr_t::calc(scope_t& scope) const
-{
- return ptr.get() ? ptr->calc(scope) : NULL_VALUE;
-}
-
bool expr_t::is_constant() const
{
return ptr.get() && ptr->is_value();
@@ -165,11 +160,6 @@ void expr_t::dump(std::ostream& out) const
if (ptr) ptr->dump(out, 0);
}
-void expr_t::read(std::ostream& in)
-{
- if (ptr) ptr->read(in);
-}
-
void expr_t::read(const char *& data)
{
if (ptr) ptr->read(data);