fix duplicate dependency frame at entry

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2209 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2008-04-04 13:35:41 +00:00
parent 21f03da2cd
commit 32df516386
1 changed files with 9 additions and 2 deletions

View File

@ -10,8 +10,11 @@
* File: c_interface.c *
* comments: c_interface primitives definition *
* *
* Last rev: $Date: 2008-04-04 09:10:02 $,$Author: vsc $ *
* Last rev: $Date: 2008-04-04 13:35:41 $,$Author: vsc $ *
* $Log: not supported by cvs2svn $
* Revision 1.113 2008/04/04 09:10:02 vsc
* restore was restoring twice
*
* Revision 1.112 2008/04/03 13:26:38 vsc
* protect signal handling with locks for threaded version.
* fix close/1 entry in manual (obs from Nicos).
@ -1760,7 +1763,11 @@ YAP_Init(YAP_init_args *yap_init)
}
yap_flags[FAST_BOOT_FLAG] = yap_init->FastBoot;
#if defined(YAPOR) || defined(TABLING)
make_root_frames();
#ifdef YAP_MEMORY_ALLOC_SCHEME
if (restore_result != DO_ONLY_CODE &&
restore_result != DO_EVERYTHING)
#endif
make_root_frames();
#ifdef YAPOR
init_workers();
#endif /* YAPOR */