avoid unnecessart work.

This commit is contained in:
Vítor Santos Costa 2011-09-20 09:53:06 +01:00
parent 5b0874be32
commit abf74a8aa9

View File

@ -897,7 +897,7 @@ AllAttVars( USES_REGS1 ) {
CELL *pt = H0; CELL *pt = H0;
CELL *myH = H; CELL *myH = H;
while (pt < H) { while (pt < myH) {
switch(*pt) { switch(*pt) {
case (CELL)FunctorAttVar: case (CELL)FunctorAttVar:
if (IsUnboundVar(pt+1)) { if (IsUnboundVar(pt+1)) {