more Anderson GIT support

This commit is contained in:
Vitor Santos Costa 2009-04-08 00:46:34 +01:00
parent b92b026c90
commit f27c261daf

View File

@ -112,6 +112,8 @@ typedef struct {
/* end of YAPOR fields */
/* whether Prolog should handle interrupts */
int PrologShouldHandleInterrupts;
/* flag for JIT mode */
int ExecutionMode;
/* number of arguments that Prolog will see */
int Argc;
/* array of arguments as seen by Prolog */
@ -152,3 +154,14 @@ typedef struct {
typedef int (*YAP_agc_hook)(YAP_Atom);
/********* execution mode ***********************/
typedef enum
{
YAPC_INTERPRETED, /* interpreted */
YAPC_MIXED_MODE_USER, /* mixed mode only for user predicates */
YAPC_MIXED_MODE_ALL, /* mixed mode for all predicates */
YAPC_COMPILE_USER, /* compile all user predicates*/
YAPC_COMPILE_ALL /* compile all predicates */
} yapc_exec_mode;