more Anderson GIT support
This commit is contained in:
parent
b92b026c90
commit
f27c261daf
@ -112,6 +112,8 @@ typedef struct {
|
|||||||
/* end of YAPOR fields */
|
/* end of YAPOR fields */
|
||||||
/* whether Prolog should handle interrupts */
|
/* whether Prolog should handle interrupts */
|
||||||
int PrologShouldHandleInterrupts;
|
int PrologShouldHandleInterrupts;
|
||||||
|
/* flag for JIT mode */
|
||||||
|
int ExecutionMode;
|
||||||
/* number of arguments that Prolog will see */
|
/* number of arguments that Prolog will see */
|
||||||
int Argc;
|
int Argc;
|
||||||
/* array of arguments as seen by Prolog */
|
/* array of arguments as seen by Prolog */
|
||||||
@ -152,3 +154,14 @@ typedef struct {
|
|||||||
|
|
||||||
typedef int (*YAP_agc_hook)(YAP_Atom);
|
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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user