compilation fixes
This commit is contained in:
parent
bda231f24d
commit
6a8cee8b79
1
C/init.c
1
C/init.c
@ -1052,7 +1052,6 @@ InitLogDBErasedMarker(void)
|
|||||||
Yap_heap_regs->logdb_erased_marker->ClNext = NULL;
|
Yap_heap_regs->logdb_erased_marker->ClNext = NULL;
|
||||||
Yap_heap_regs->logdb_erased_marker->ClSize = (UInt)NEXTOP(((LogUpdClause *)NULL)->ClCode,e);
|
Yap_heap_regs->logdb_erased_marker->ClSize = (UInt)NEXTOP(((LogUpdClause *)NULL)->ClCode,e);
|
||||||
Yap_heap_regs->logdb_erased_marker->ClCode->opc = Yap_opcode(_op_fail);
|
Yap_heap_regs->logdb_erased_marker->ClCode->opc = Yap_opcode(_op_fail);
|
||||||
INIT_LOCK(Yap_heap_regs->logdb_erased_marker->ClLock);
|
|
||||||
INIT_CLREF_COUNT(Yap_heap_regs->logdb_erased_marker);
|
INIT_CLREF_COUNT(Yap_heap_regs->logdb_erased_marker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,6 +61,10 @@
|
|||||||
* *
|
* *
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
|
#ifndef NULL
|
||||||
|
#include <stdio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ALIGN_LONGS
|
#if ALIGN_LONGS
|
||||||
/* */ typedef Int DISPREG;
|
/* */ typedef Int DISPREG;
|
||||||
/* */ typedef CELL SMALLUNSGN;
|
/* */ typedef CELL SMALLUNSGN;
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#ifdef THREADS
|
#ifdef THREADS
|
||||||
INIT_LOCK(Yap_heap_regs->thread_handles_lock);
|
INIT_LOCK(Yap_heap_regs->thread_handles_lock);
|
||||||
InitThreadHandles;
|
InitThreadHandles();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -805,7 +805,6 @@ RestoreLogDBErasedMarker(void)
|
|||||||
Yap_heap_regs->logdb_erased_marker->ClNext = NULL;
|
Yap_heap_regs->logdb_erased_marker->ClNext = NULL;
|
||||||
Yap_heap_regs->logdb_erased_marker->ClSize = (UInt)NEXTOP(((LogUpdClause *)NULL)->ClCode,e);
|
Yap_heap_regs->logdb_erased_marker->ClSize = (UInt)NEXTOP(((LogUpdClause *)NULL)->ClCode,e);
|
||||||
Yap_heap_regs->logdb_erased_marker->ClCode->opc = Yap_opcode(_op_fail);
|
Yap_heap_regs->logdb_erased_marker->ClCode->opc = Yap_opcode(_op_fail);
|
||||||
REINIT_LOCK(Yap_heap_regs->logdb_erased_marker->ClLock);
|
|
||||||
INIT_CLREF_COUNT(Yap_heap_regs->logdb_erased_marker);
|
INIT_CLREF_COUNT(Yap_heap_regs->logdb_erased_marker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ worker_local wl WorkerLocak void void
|
|||||||
#endif
|
#endif
|
||||||
#ifdef THREADS
|
#ifdef THREADS
|
||||||
lockvar thread_handles_lock ThreadHandlesLock MkLock
|
lockvar thread_handles_lock ThreadHandlesLock MkLock
|
||||||
struct thandle thread_handle[MAX_THREADS] ThreadHandle InitThreadHandles void
|
struct thandle thread_handle[MAX_THREADS] ThreadHandle InitThreadHandles() void
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* memory management */
|
/* memory management */
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit e071f01c1d9015e6d3fabc73092a6e902541485a
|
Subproject commit c325e4564bb8d4e32c27f2061df85f13d315974e
|
@ -1 +1 @@
|
|||||||
Subproject commit eb6d27251c2548c25e6d37fff2a27a014caaa7aa
|
Subproject commit a2d2f03107eecd45462cd61a678035132cf06326
|
Reference in New Issue
Block a user