1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Baseline compiler: add pop-fluid primitive.

* module/language/tree-il/compile-bytecode.scm (pop-fluid): New
  primitive.
This commit is contained in:
Andy Wingo 2020-05-11 13:32:19 +02:00
parent 527262fef0
commit 3b6023d66d

View file

@ -266,6 +266,7 @@
(push-dynamic-state #:nargs 1 #:emit emit-push-dynamic-state)
(pop-dynamic-state #:nargs 0 #:emit emit-pop-dynamic-state)
(push-fluid #:nargs 2 #:emit emit-push-fluid)
(pop-fluid #:nargs 0 #:emit emit-pop-fluid)
(pop-fluid-state #:nargs 0 #:emit emit-pop-dynamic-state)
(fluid-ref #:nargs 1 #:has-result? #t #:emit emit-fluid-ref)
(fluid-set! #:nargs 2 #:emit emit-fluid-set!)