compile-bibop-gc-32.scm 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ; Part of Scheme 48 1.9. See file COPYING for notices and license.
  2. ; Authors: David Frese, Marcus Crestani
  3. (config '(load "../scheme/vm/macro-package-defs.scm"))
  4. (load-package 'vm-architecture)
  5. (in 'forms '(run (set! *duplicate-lambda-size* 30)))
  6. (in 'simplify-let '(run (set! *duplicate-lambda-size* 15)))
  7. (in 'prescheme-compiler
  8. '(run (prescheme-compiler
  9. '(allocation heap heap-bibop gc gc-bibop-util read-image write-image)
  10. '("../scheme/platform-interfaces.scm"
  11. "../scheme/vm/ps-platform-32-packages.scm"
  12. "../scheme/vm/interfaces.scm"
  13. "../scheme/vm/shared-interfaces.scm"
  14. "../scheme/vm/ps-package-defs.scm"
  15. "../scheme/vm/package-defs.scm"
  16. "../scheme/vm/bibop-gc-package-defs.scm"
  17. "../scheme/vm/alt-vm-package-defs.scm"
  18. )
  19. 's48-heap-init
  20. "../scheme/vm/scheme48-bibop-heap-32.c"
  21. '(header "#include <string.h>") ; for strlen, memcpy
  22. '(header "#include <stdlib.h>") ; for malloc, free
  23. '(header "#include \"scheme48vm.h\"")
  24. '(header "#include \"scheme48heap.h\"")
  25. '(header "#include \"scheme48write-barrier.h\"")
  26. '(header "#include \"bibop/bibop.h\"")
  27. ;'(copy (heap walk-over-type-in-area))
  28. '(no-copy (gc s48-trace-locations!)
  29. (write-image write-image trace-image-value))
  30. '(copy (string-tables relocate-table))
  31. ;'(integrate (real-copy-object s48-trace-locations!))
  32. )))