Skip to content

Commit

Permalink
interpreter/state: fix hash-mapping implementation for #1
Browse files Browse the repository at this point in the history
  • Loading branch information
pdarragh committed Jul 1, 2022
1 parent 71222e0 commit 85bbdf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion interpreter/state.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,6 @@
[(registers)
(hash-set new-registers 'rsp sp)]
[(runtime)
(hash-map runtime convert-external-function)])
(for/hash ([(key func) (in-hash runtime)])
(values key (convert-external-function func)))])
(State 0 ip ip sp labels registers new-flags memory runtime)))

0 comments on commit 85bbdf6

Please sign in to comment.