[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 4792ed: CogVM source as per VMMaker.oscog-eem.3073

Eliot Miranda noreply at github.com
Tue Sep 21 23:03:42 UTC 2021


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 4792edb5e22256d5a594ea0e8b40224f116ac1db
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/4792edb5e22256d5a594ea0e8b40224f116ac1db
  Author: Eliot Miranda <eliot.miranda at gmail.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M building/macos32x86/common/Makefile.rules
    M building/macos64ARMv8/common/Makefile.rules
    M building/macos64x64/common/Makefile.rules
    M platforms/Cross/plugins/IA32ABI/AlienSUnitTestProcedures.c
    M platforms/Cross/plugins/SqueakFFIPrims/sqFFI.h
    A platforms/Cross/plugins/SqueakFFIPrims/sqFFITestFuncExports.h
    M platforms/Cross/vm/sqNamedPrims.c
    M src/plugins/SqueakFFIPrims/ARM32FFIPlugin.c
    M src/plugins/SqueakFFIPrims/ARM64FFIPlugin.c
    M src/plugins/SqueakFFIPrims/IA32FFIPlugin.c
    M src/plugins/SqueakFFIPrims/X64SysVFFIPlugin.c
    M src/plugins/SqueakFFIPrims/X64Win64FFIPlugin.c

  Log Message:
  -----------
  CogVM source as per VMMaker.oscog-eem.3073

Slang: add mechanism for an internal plugin to include additional exports, hence allowing the functions in sqFFITestFunctions.c to be exported from SqueakFFIPrims when compiled as an internal plugin.

SqueakFFIPrims: add sqFFITestFuncExports.h which exports the test functions when
SqueakFFIPrims is compiled as an internal plugin.  Move the declarations and
types to sqFFI.h.

Don't compile/export test functions in IA32ABI unless ALIEN_TEST_FUNCTIONS is
defined on the command line, hence resolving conflict with SqueakFFIPrims'
test functions.

Add a hack to sqNamedPrims.c to allow it to answer an internal module from
ioLoadModuleOfLength.  Note that search through internal exports in
findInternalFunctionIn is exhaustive (!!).  This cannot stand ;-)

Fix the Mac makefiles to remove the dependence on the dep file,
as this was forcing recompilation all the time.




More information about the Vm-dev mailing list