fix case where index has no clauses.
This commit is contained in:
parent
13fb5d5156
commit
e19a8eeb87
@ -3706,7 +3706,7 @@ index_sz(LogUpdIndex *x)
|
|||||||
else
|
else
|
||||||
endop = Yap_opcode(_trust_logical);
|
endop = Yap_opcode(_trust_logical);
|
||||||
start = start->u.Ills.l1;
|
start = start->u.Ills.l1;
|
||||||
do {
|
if (start->u.Ills.s) do {
|
||||||
sz += (UInt)NEXTOP((yamop*)NULL,OtaLl);
|
sz += (UInt)NEXTOP((yamop*)NULL,OtaLl);
|
||||||
op1 = start->opc;
|
op1 = start->opc;
|
||||||
count++;
|
count++;
|
||||||
|
Reference in New Issue
Block a user