more patches to support Anderson's JIT.

This commit is contained in:
Vitor Santos Costa
2009-04-08 00:32:36 +01:00
parent b2ad3bd000
commit b92b026c90
12 changed files with 77 additions and 10 deletions

View File

@@ -331,12 +331,14 @@ typedef struct yami {
CELL next;
} Otapl;
struct {
COUNT n; /* call counter */
CPredicate native; /* native code pointer */
struct yami *native_next; /* next instruction to execute
after native code
if the predicate was not fully compiled */
struct pred_entry *p; /* Pointer to pred */
/* call counter */
COUNT n;
/* native code pointer */
CPredicate native;
/* next instruction to execute after native code if the predicate was not fully compiled */
struct yami *native_next;
/* Pointer to pred */
struct pred_entry *p;
CELL next;
} aFlp;
/* The next two instructions are twin: they both correspond to the old ldd. */