generated files

This commit is contained in:
Vítor Santos Costa 2016-01-31 10:41:01 +00:00
parent 06a2caf7a9
commit ad7bef51c6
7 changed files with 14 additions and 10 deletions

View File

@ -120,12 +120,12 @@ EXTERNAL UInt GLOBAL_flagCount;
/* Anderson's JIT */ /* Anderson's JIT */
EXTERNAL yap_exec_mode Yap_ExecutionMode; EXTERNAL yap_exec_mode Yap_ExecutionMode;
/* The Predicate Hash Table: fast access to predicates. */ /* The Predicate Hash Table: fast access to predicates. */
EXTERNAL UInt PredsInHashTable;
EXTERNAL uint64_t PredHashTableSize;
EXTERNAL struct pred_entry **PredHash; EXTERNAL struct pred_entry **PredHash;
#if defined(YAPOR) || defined(THREADS) #if defined(YAPOR) || defined(THREADS)
EXTERNAL rwlock_t PredHashRWLock; EXTERNAL rwlock_t PredHashRWLock;
#endif #endif
EXTERNAL UInt PredsInHashTable;
EXTERNAL UInt PredHashTableSize;
/* Well-Known Predicates */ /* Well-Known Predicates */
EXTERNAL struct pred_entry *CreepCode; EXTERNAL struct pred_entry *CreepCode;
EXTERNAL struct pred_entry *UndefCode; EXTERNAL struct pred_entry *UndefCode;

View File

@ -17,10 +17,10 @@ typedef struct worker_local {
// Used by the prompts to check if they are after a newline, and then a // Used by the prompts to check if they are after a newline, and then a
// prompt should be output, or if we are in the middle of a line. // prompt should be output, or if we are in the middle of a line.
// //
encoding_t encoding_;
bool newline_; bool newline_;
Atom AtPrompt_; Atom AtPrompt_;
char Prompt_[MAX_PROMPT+1]; char Prompt_[MAX_PROMPT+1];
encoding_t encoding_;
bool quasi_quotations_; bool quasi_quotations_;
UInt default_priority_; UInt default_priority_;
bool eot_before_eof_; bool eot_before_eof_;

View File

@ -120,12 +120,12 @@
/* Anderson's JIT */ /* Anderson's JIT */
yap_exec_mode Yap_ExecutionMode_; yap_exec_mode Yap_ExecutionMode_;
/* The Predicate Hash Table: fast access to predicates. */ /* The Predicate Hash Table: fast access to predicates. */
UInt PredsInHashTable_;
uint64_t PredHashTableSize_;
struct pred_entry **PredHash_; struct pred_entry **PredHash_;
#if defined(YAPOR) || defined(THREADS) #if defined(YAPOR) || defined(THREADS)
rwlock_t PredHashRWLock_; rwlock_t PredHashRWLock_;
#endif #endif
UInt PredsInHashTable_;
UInt PredHashTableSize_;
/* Well-Known Predicates */ /* Well-Known Predicates */
struct pred_entry *CreepCode_; struct pred_entry *CreepCode_;
struct pred_entry *UndefCode_; struct pred_entry *UndefCode_;

4
H/heap/i0globals.h Normal file
View File

@ -0,0 +1,4 @@
/* This file, iglobals.h, was generated automatically by "yap -L misc/buildlocalglobal"
please do not update, update misc/GLOBALS instead */

View File

@ -120,12 +120,12 @@
Yap_ExecutionMode = INTERPRETED; Yap_ExecutionMode = INTERPRETED;
PredsInHashTable = 0;
PredHashTableSize = 0;
InitPredHash(); InitPredHash();
#if defined(YAPOR) || defined(THREADS) #if defined(YAPOR) || defined(THREADS)
#endif #endif
PredsInHashTable = 0;
CreepCode = RepPredProp(PredPropByFunc(Yap_MkFunctor(AtomCreep,1),PROLOG_MODULE)); CreepCode = RepPredProp(PredPropByFunc(Yap_MkFunctor(AtomCreep,1),PROLOG_MODULE));
UndefCode = RepPredProp(PredPropByFunc(Yap_MkFunctor(AtomUndefp,2),PROLOG_MODULE)); UndefCode = RepPredProp(PredPropByFunc(Yap_MkFunctor(AtomUndefp,2),PROLOG_MODULE));

View File

@ -17,10 +17,10 @@ static void InitWorker(int wid) {
REMOTE_encoding(wid) = Yap_DefaultEncoding();
REMOTE_newline(wid) = true; REMOTE_newline(wid) = true;
REMOTE_AtPrompt(wid) = AtomNil; REMOTE_AtPrompt(wid) = AtomNil;
REMOTE_encoding(wid) = Yap_DefaultEncoding();
REMOTE_quasi_quotations(wid) = false; REMOTE_quasi_quotations(wid) = false;
REMOTE_default_priority(wid) = 1200; REMOTE_default_priority(wid) = 1200;
REMOTE_eot_before_eof(wid) = false; REMOTE_eot_before_eof(wid) = false;

View File

@ -120,13 +120,13 @@
RestorePredHash(); RestorePredHash();
#if defined(YAPOR) || defined(THREADS) #if defined(YAPOR) || defined(THREADS)
#endif #endif
CreepCode = PtoPredAdjust(CreepCode); CreepCode = PtoPredAdjust(CreepCode);
UndefCode = PtoPredAdjust(UndefCode); UndefCode = PtoPredAdjust(UndefCode);
SpyCode = PtoPredAdjust(SpyCode); SpyCode = PtoPredAdjust(SpyCode);