Skip to content

Commit

Permalink
CogVM source as per VMMaker.oscog-eem.3150
Browse files Browse the repository at this point in the history
Spur CoInterpreter:
further cleanup of primitive property flags computation.
primitiveFunctionPointer is no longer part of primitive-invoke-time state,
so expunge it from VMCallbackContext.
  • Loading branch information
eliotmiranda committed Feb 10, 2022
1 parent 5b1e8dc commit 55a60cb
Show file tree
Hide file tree
Showing 49 changed files with 673 additions and 3,243 deletions.
214 changes: 34 additions & 180 deletions src/spur32.cog.lowcode/cointerp.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/spur32.cog.lowcode/cointerp.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3148 uuid: 55858401-f9a2-4458-ab45-b576bac43a1c
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3150 uuid: 832f44e4-6d22-4545-ae94-d8453b49d54f
*/


Expand Down
214 changes: 34 additions & 180 deletions src/spur32.cog.lowcode/gcc3x-cointerp.c

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/spur32.cog.lowcode/vmCallback.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2862 uuid: a30f9d13-a2a4-415a-982c-898cc5b69848
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3150 uuid: 832f44e4-6d22-4545-ae94-d8453b49d54f
*/

#define VM_CALLBACK_INC 1
Expand All @@ -18,7 +18,6 @@ typedef struct _VMCallbackContext {
double valflt64;
struct { void *addr; sqIntptr_t size; } valstruct;
}rvs;
void *savedPrimFunctionPointer;
void *savedMostRecentCallbackContext;
jmp_buf trampoline;
jmp_buf savedReenterInterpreter;
Expand Down
230 changes: 42 additions & 188 deletions src/spur32.cog/cointerp.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/spur32.cog/cointerp.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3148 uuid: 55858401-f9a2-4458-ab45-b576bac43a1c
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3150 uuid: 832f44e4-6d22-4545-ae94-d8453b49d54f
*/


Expand Down
210 changes: 32 additions & 178 deletions src/spur32.cog/cointerpmt.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/spur32.cog/cointerpmt.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3148 uuid: 55858401-f9a2-4458-ab45-b576bac43a1c
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3150 uuid: 832f44e4-6d22-4545-ae94-d8453b49d54f
*/


Expand Down
230 changes: 42 additions & 188 deletions src/spur32.cog/gcc3x-cointerp.c

Large diffs are not rendered by default.

210 changes: 32 additions & 178 deletions src/spur32.cog/gcc3x-cointerpmt.c

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/spur32.cog/vmCallback.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2862 uuid: a30f9d13-a2a4-415a-982c-898cc5b69848
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3150 uuid: 832f44e4-6d22-4545-ae94-d8453b49d54f
*/

#define VM_CALLBACK_INC 1
Expand All @@ -18,7 +18,6 @@ typedef struct _VMCallbackContext {
double valflt64;
struct { void *addr; sqIntptr_t size; } valstruct;
}rvs;
void *savedPrimFunctionPointer;
void *savedMostRecentCallbackContext;
jmp_buf trampoline;
jmp_buf savedReenterInterpreter;
Expand Down

0 comments on commit 55a60cb

Please sign in to comment.