compile-gc.scm 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ; Copyright (c) 1993-2007 by Richard Kelsey. See file COPYING.
  2. (config '(load "../scheme/vm/macro-package-defs.scm"))
  3. (load-package 'vm-architecture)
  4. (in 'forms '(run (set! *duplicate-lambda-size* 30)))
  5. (in 'simplify-let '(run (set! *duplicate-lambda-size* 15)))
  6. (in 'prescheme-compiler
  7. '(run (prescheme-compiler
  8. '(allocation heap heap-init gc)
  9. '("../scheme/vm/interfaces.scm"
  10. "../scheme/vm/shared-interfaces.scm"
  11. "../scheme/vm/ps-package-defs.scm"
  12. "../scheme/vm/package-defs.scm"
  13. "../scheme/vm/alt-vm-package-defs.scm")
  14. 's48-heap-init
  15. "../scheme/vm/scheme48heap.c"
  16. '(header "#include \"scheme48vm-prelude.h\"")
  17. '(header "#include \"scheme48vm.h\"")
  18. ;'(copy (heap walk-over-type-in-area))
  19. '(no-copy (gc s48-trace-locations!))
  20. '(integrate (real-copy-object
  21. s48-trace-locations!
  22. gather-objects-into-vector
  23. generic-find-all)))))
  24. (in 'prescheme-compiler
  25. '(run (prescheme-compiler
  26. '(read-image)
  27. '("../scheme/vm/interfaces.scm"
  28. "../scheme/vm/shared-interfaces.scm"
  29. "../scheme/vm/ps-package-defs.scm"
  30. "../scheme/vm/package-defs.scm"
  31. "../scheme/vm/alt-gc-package-defs.scm"
  32. "../scheme/vm/alt-vm-package-defs.scm")
  33. 's48-read-image-init
  34. "../scheme/vm/scheme48read-image.c"
  35. '(header "#include \"scheme48vm-prelude.h\"")
  36. '(header "#include \"scheme48vm.h\"")
  37. '(header "#include \"scheme48heap.h\""))))
  38. (in 'prescheme-compiler
  39. '(run (prescheme-compiler
  40. '(write-image)
  41. '("../scheme/vm/interfaces.scm"
  42. "../scheme/vm/shared-interfaces.scm"
  43. "../scheme/vm/ps-package-defs.scm"
  44. "../scheme/vm/package-defs.scm"
  45. "../scheme/vm/alt-vm-package-defs.scm")
  46. 's48-write-image-init
  47. "../scheme/vm/scheme48write-image.c"
  48. '(header "#include \"scheme48vm-prelude.h\"")
  49. '(header "#include \"scheme48vm.h\"")
  50. '(header "#include \"scheme48heap.h\"")
  51. '(no-copy (write-image trace-image-value)))))