Skip to content

Commit

Permalink
also remove SPEC_UPPER_BOUND, useless
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRawson committed Apr 3, 2024
1 parent 77d2f61 commit cb6a914
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Kernel/Term.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ bool operator<(const TermList& lhs, const TermList& rhs);
*/
class TermList {
public:
// divide by 4 because of the tag, by 2 to split the space evenly
static const unsigned SPEC_UPPER_BOUND = (UINT_MAX / 4) / 2;
/* default constructor, satisfying isEmpty() */
TermList() : _content(FUN) {}
/** creates a term list containing a pointer to a term */
Expand Down Expand Up @@ -140,7 +138,7 @@ class TermList {
/** the term contains an ordinary variable as its head */
inline bool isOrdinaryVar() const { return tag() == ORD_VAR; }
/** the term contains a special variable as its head */
inline bool isSpecialVar() const { return tag() == SPEC_VAR && var() < SPEC_UPPER_BOUND; }
inline bool isSpecialVar() const { return tag() == SPEC_VAR; }

/** return the variable number */
inline unsigned var() const
Expand Down

0 comments on commit cb6a914

Please sign in to comment.