Skip to content

Commit

Permalink
CogVM source as per VMMaker.oscog-eem.2040
Browse files Browse the repository at this point in the history
ThreadedX64SysVFFIPlugin
Fix regression due to faulty merge.

Slang:
Make functional methods that start with an assert inlineable and hence make
isSmallFloatZero: inlineable, given that it is marked <inline: #always>.
To this end:
Refactor tryToInlineMethodsIn: into tryToInlineMethodsIn:,
tryToInlineMethodExpressionsIn: & tryToInlineMethodStatementsIn:statementListsInto:.
Choose to apply tryToInlineMethodStatementsIn:statementListsInto: first
(reversing the order of the previous tryToInlineMethodExpressionsIn:) because
doing so creates less methods with long comma-chained expressions, which IME can
be a source of C compiler bugs.
Add a check for failure to inline <inline: #always> methods.

Hence regenerate all sources (unchanged plugins have been reverted).

StackInterpreter:
Remove nsMethodCache in non NewspeakVMs.
  • Loading branch information
eliotmiranda committed Dec 15, 2016
1 parent ba2b5a7 commit 1c61475
Show file tree
Hide file tree
Showing 71 changed files with 222,468 additions and 138,069 deletions.
2 changes: 1 addition & 1 deletion nsspur64src/vm/cogit.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGenerator VMMaker.oscog-eem.2034 uuid: ff192a4b-8ebc-4734-9e4e-cdc301d6c9e0
CCodeGenerator VMMaker.oscog-eem.2040 uuid: 5c1c9278-c66a-4508-8b7c-fb1b0c8b3e46
*/


Expand Down
694 changes: 356 additions & 338 deletions nsspur64src/vm/cogitX64.c

Large diffs are not rendered by default.

14,439 changes: 8,994 additions & 5,445 deletions nsspur64src/vm/cointerp.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion nsspur64src/vm/cointerp.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2039 uuid: 78dde0e7-e826-47ad-b2ef-4a8aff88b963
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2040 uuid: 5c1c9278-c66a-4508-8b7c-fb1b0c8b3e46
*/


Expand Down
14,439 changes: 8,994 additions & 5,445 deletions nsspur64src/vm/gcc3x-cointerp.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion nsspursrc/vm/cogit.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGenerator VMMaker.oscog-eem.2034 uuid: ff192a4b-8ebc-4734-9e4e-cdc301d6c9e0
CCodeGenerator VMMaker.oscog-eem.2040 uuid: 5c1c9278-c66a-4508-8b7c-fb1b0c8b3e46
*/


Expand Down
2,751 changes: 1,414 additions & 1,337 deletions nsspursrc/vm/cogitARMv5.c

Large diffs are not rendered by default.

780 changes: 401 additions & 379 deletions nsspursrc/vm/cogitIA32.c

Large diffs are not rendered by default.

740 changes: 364 additions & 376 deletions nsspursrc/vm/cogitMIPSEL.c

Large diffs are not rendered by default.

14,511 changes: 9,051 additions & 5,460 deletions nsspursrc/vm/cointerp.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion nsspursrc/vm/cointerp.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2039 uuid: 78dde0e7-e826-47ad-b2ef-4a8aff88b963
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2040 uuid: 5c1c9278-c66a-4508-8b7c-fb1b0c8b3e46
*/


Expand Down
14,511 changes: 9,051 additions & 5,460 deletions nsspursrc/vm/gcc3x-cointerp.c

Large diffs are not rendered by default.

0 comments on commit 1c61475

Please sign in to comment.