Merge pull request #35 from orsonmmz/real

Removed ExpReal::evaluate().
This commit is contained in:
Stephen Williams 2014-08-07 08:47:27 -07:00
commit 374948ce1b
2 changed files with 0 additions and 7 deletions

View File

@ -307,12 +307,6 @@ ExpReal::~ExpReal()
{
}
bool ExpReal::evaluate(ScopeBase*, double&val) const
{
val = value_;
return true;
}
ExpLogical::ExpLogical(ExpLogical::fun_t ty, Expression*op1, Expression*op2)
: ExpBinary(op1, op2), fun_(ty)
{

View File

@ -519,7 +519,6 @@ class ExpReal : public Expression {
int emit(ostream&out, Entity*ent, Architecture*arc);
int emit_package(std::ostream&out);
bool is_primary(void) const;
bool evaluate(ScopeBase*scope, double&val) const;
void dump(ostream&out, int indent = 0) const;
virtual ostream& dump_inline(ostream&out) const;