protect pointer
This commit is contained in:
parent
8fcceb9957
commit
ddfed40e00
@ -640,8 +640,10 @@ ShowOp (compiler_vm_op ic, const char *f, struct PSEUDO *cpc)
|
|||||||
case 'v':
|
case 'v':
|
||||||
{
|
{
|
||||||
Ventry *v = (Ventry *) arg;
|
Ventry *v = (Ventry *) arg;
|
||||||
Yap_DebugErrorPutc (v->KindOfVE == PermVar ? 'Y' : 'X');
|
if (v) {
|
||||||
Yap_DebugPlWrite (MkIntTerm ((v->NoOfVE) & MaskVarAdrs));
|
Yap_DebugErrorPutc (v->KindOfVE == PermVar ? 'Y' : 'X');
|
||||||
|
Yap_DebugPlWrite (MkIntTerm ((v->NoOfVE) & MaskVarAdrs));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'N':
|
case 'N':
|
||||||
|
Reference in New Issue
Block a user