Skip to content

Commit

Permalink
actually remove _id from Term, fix goof with TERM_DIST_VAR_UNKNOWN
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRawson committed Dec 14, 2023
1 parent 31939a4 commit 3d5dcef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Kernel/Term.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@

// the number of bits used for "TermList::_info::distinctVars"
#define TERM_DIST_VAR_BITS 21
#define TERM_DIST_VAR_UNKNOWN ((2 ^ TERM_DIST_VAR_BITS) - 1)
// maximum number that fits in a 21-bit integer - update if TERM_DIST_VAR_BITS changes
#define TERM_DIST_VAR_UNKNOWN 0x1FFFFF

namespace Kernel {

Expand Down Expand Up @@ -789,8 +790,6 @@ class Term
_args[0]._info.order = val;
}

/** For shared terms, this is a unique id used for deterministic comparison */
unsigned _id;
/** The number of this symbol in a signature */
unsigned _functor;
/** Arity of the symbol */
Expand Down

0 comments on commit 3d5dcef

Please sign in to comment.