fix bad tests for attributed variable, and use a better name for Quick Test.
This commit is contained in:
@@ -67,10 +67,11 @@ IsAttVar (CELL *pt)
|
||||
return (pt)[-1] == (CELL)attvar_e && pt < H;
|
||||
}
|
||||
|
||||
inline EXTERN int GlobalIsAttVar (CELL *pt);
|
||||
|
||||
inline EXTERN int
|
||||
FastIsAttVar (CELL *pt)
|
||||
GlobalIsAttVar (CELL *pt)
|
||||
{
|
||||
CACHE_REGS
|
||||
return (pt)[-1] == (CELL)attvar_e;
|
||||
}
|
||||
|
||||
@@ -517,9 +518,9 @@ IsAttachedTerm (Term t)
|
||||
inline EXTERN Int IsAttachedTerm (Term);
|
||||
|
||||
inline EXTERN Int
|
||||
FastIsAttachedTerm (Term t)
|
||||
GlobalIsAttachedTerm (Term t)
|
||||
{
|
||||
return (Int) ((IsVarTerm (t) && FastIsAttVar(VarOfTerm(t))));
|
||||
return (Int) ((IsVarTerm (t) && GlobalIsAttVar(VarOfTerm(t))));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user