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':
|
||||
{
|
||||
Ventry *v = (Ventry *) arg;
|
||||
Yap_DebugErrorPutc (v->KindOfVE == PermVar ? 'Y' : 'X');
|
||||
Yap_DebugPlWrite (MkIntTerm ((v->NoOfVE) & MaskVarAdrs));
|
||||
if (v) {
|
||||
Yap_DebugErrorPutc (v->KindOfVE == PermVar ? 'Y' : 'X');
|
||||
Yap_DebugPlWrite (MkIntTerm ((v->NoOfVE) & MaskVarAdrs));
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'N':
|
||||
|
Reference in New Issue
Block a user