fix bad frame pointer.
This commit is contained in:
parent
40ce9feb76
commit
2cfb744b07
5
C/exec.c
5
C/exec.c
@ -1676,6 +1676,11 @@ Yap_InitYaamRegs(void)
|
|||||||
#if defined MYDDAS_MYSQL || defined MYDDAS_ODBC
|
#if defined MYDDAS_MYSQL || defined MYDDAS_ODBC
|
||||||
Yap_REGS.MYDDAS_GLOBAL_POINTER = NULL;
|
Yap_REGS.MYDDAS_GLOBAL_POINTER = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef TABLING
|
||||||
|
/* ensure that LOCAL_top_dep_fr is always valid */
|
||||||
|
if (LOCAL_top_dep_fr)
|
||||||
|
DepFr_cons_cp(LOCAL_top_dep_fr) = NORM_CP(B);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static Int
|
static Int
|
||||||
|
Reference in New Issue
Block a user