we don't need to wakeup variables that have no attributes, even if they have been bound.
This commit is contained in:
@@ -137,6 +137,10 @@ WakeAttVar(CELL* pt1, CELL reg2)
|
||||
CELL *myH = H;
|
||||
CELL *bind_ptr;
|
||||
|
||||
if (IsVarTerm(Deref(attv->Atts))) {
|
||||
/* no attributes to wake */
|
||||
return;
|
||||
}
|
||||
if (IsVarTerm(reg2)) {
|
||||
if (pt1 == VarOfTerm(reg2))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user