fix unnecessary unlocking (obs from Jiefei Ma).

This commit is contained in:
Vítor Manuel de Morais Santos Costa 2010-01-21 15:05:59 +00:00
parent 3a0179ca9d
commit 1187e58005

View File

@ -2652,7 +2652,6 @@ new_lu_int_key(Int key)
p->ArityOfPE = 3;
p->OpcodeOfPred = Yap_opcode(_op_fail);
p->cs.p_code.TrueCodeOfPred = p->CodeOfPred = FAILCODE;
WRITE_UNLOCK(ae->ARWLock);
INT_LU_KEYS[hash_key] = p0;
return p;
}