Skip to content

Commit

Permalink
[ fix ] Eliminate invalid memory reference (chez's GC bug?)
Browse files Browse the repository at this point in the history
  • Loading branch information
buzden committed Jan 13, 2023
1 parent 6e4d710 commit a77b163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/chez/support.ss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
(let ((exval (car e)))
(if (bwp-object? exval)
(let ((val ((cdr e))))
(begin (set-car! e val) val))
exval)))
(begin (set-car! e (box val)) val))
(unbox exval))))

(define (blodwen-toSignedInt x bits)
(if (logbit? bits x)
Expand Down

0 comments on commit a77b163

Please sign in to comment.