fix init to always be able to try booting from Prolog
This commit is contained in:
parent
068b624fca
commit
76f4868ff6
9
H/Yap.h
9
H/Yap.h
@ -487,9 +487,12 @@ extern int64_t Yap_AssetSize(const char *name);
|
|||||||
#define MaxHash 3333
|
#define MaxHash 3333
|
||||||
#define MaxWideHash (MaxHash / 10 + 1)
|
#define MaxWideHash (MaxHash / 10 + 1)
|
||||||
|
|
||||||
#define FAIL_RESTORE 0
|
typedef enum e_restore_t {
|
||||||
#define DO_EVERYTHING 1
|
FAIL_RESTORE = 0,
|
||||||
#define DO_ONLY_CODE 2
|
DO_EVERYTHING = 1,
|
||||||
|
DO_ONLY_CODE = 2,
|
||||||
|
YAP_BOOT_FROM_PROLOG = 4
|
||||||
|
} restore_t;
|
||||||
|
|
||||||
/*************************************************************************************************
|
/*************************************************************************************************
|
||||||
common instructions codes
|
common instructions codes
|
||||||
|
@ -182,7 +182,6 @@ typedef enum {
|
|||||||
YAP_TAG_DBREF = 0x1000
|
YAP_TAG_DBREF = 0x1000
|
||||||
} YAP_tag_t;
|
} YAP_tag_t;
|
||||||
|
|
||||||
#define YAP_BOOT_FROM_PROLOG 0
|
|
||||||
#define YAP_BOOT_FROM_SAVED_CODE 1
|
#define YAP_BOOT_FROM_SAVED_CODE 1
|
||||||
#define YAP_BOOT_FROM_SAVED_STACKS 2
|
#define YAP_BOOT_FROM_SAVED_STACKS 2
|
||||||
#define YAP_FULL_BOOT_FROM_PROLOG 4
|
#define YAP_FULL_BOOT_FROM_PROLOG 4
|
||||||
|
Reference in New Issue
Block a user