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 authored and Martin Suda committed Apr 8, 2024
1 parent a5c4d03 commit 7641014
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 @@ -99,8 +99,6 @@ enum ArgumentOrderVals {
*/
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 @@ -142,7 +140,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 7641014

Please sign in to comment.