Some more compile time errors, some bug fixes for runtime
This commit is contained in:
@@ -31,7 +31,7 @@ alloc-do-gc
|
||||
(drop)
|
||||
(drop)
|
||||
;; Run garbage collection
|
||||
(push gc-start)
|
||||
(push gc-run)
|
||||
(call)
|
||||
;; Tail-call allocation
|
||||
(push alloc)
|
||||
@@ -123,6 +123,19 @@ reg-relocated
|
||||
(drop)
|
||||
(return)
|
||||
|
||||
gc-loop
|
||||
(ref free)
|
||||
(ref scan)
|
||||
(<)
|
||||
(branch gc-loop-done)
|
||||
(ref scan)
|
||||
(relocate-reg)
|
||||
(push gc-loop)
|
||||
(jmp)
|
||||
gc-loop-done
|
||||
(return)
|
||||
|
||||
|
||||
main
|
||||
;; These need to be initialized with the runtime
|
||||
(push memory)
|
||||
|
||||
Reference in New Issue
Block a user