1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-02 02:10:19 +02:00
guile/module/language/cps
Andy Wingo 8918165c40 Compile current-module as intrinsic call
* libguile/fluids.c (scm_i_fluid_ref): New internal function.
  (scm_fluid_ref): Use scm_i_fluid_ref.
* libguile/intrinsics.h:
* libguile/intrinsics.c (current_module): New intrinsic.
* libguile/modules.c (scm_i_current_module): New internal function.
  (scm_current_module): Use new internal function.
* module/language/cps/reify-primitives.scm (compute-known-primitives):
  Add current-module as an intrinsic primitive.
* module/system/vm/assembler.scm (define-scm<-thread-intrinsic):
  (current-module): Arrange to compile to intrinsic call.
2018-06-27 14:57:51 +02:00
..
closure-conversion.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
compile-bytecode.scm Compile "define!" via intrinsic 2018-05-14 15:15:22 +02:00
contification.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
cse.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
dce.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
devirtualize-integers.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
effects-analysis.scm Compile "define!" via intrinsic 2018-05-14 15:15:22 +02:00
handle-interrupts.scm $branch is now a distinct CPS term type 2018-01-03 16:16:39 +01:00
intmap.scm Add nullary intmap and intset folders 2017-11-29 19:57:11 +01:00
intset.scm Add nullary intmap and intset folders 2017-11-29 19:57:11 +01:00
licm.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
optimize.scm Add (system base optimize) module 2018-01-05 10:19:54 +01:00
peel-loops.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
prune-top-level-scopes.scm cache-current-module, etc use immediate primcall parameters 2017-11-05 15:00:16 +01:00
reify-primitives.scm Compile current-module as intrinsic call 2018-06-27 14:57:51 +02:00
renumber.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
rotate-loops.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
self-references.scm $throw is a new kind of CPS term 2018-01-03 21:25:55 +01:00
simplify.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
slot-allocation.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
spec.scm Fix guild compile --to=cps / --from=cps 2017-02-23 11:37:44 +01:00
specialize-numbers.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
specialize-primcalls.scm Add VM ops needed for string-ref 2018-04-08 21:26:46 +02:00
split-rec.scm $throw is a new kind of CPS term 2018-01-03 21:25:55 +01:00
type-checks.scm $branch is now a distinct CPS term type 2018-01-03 16:16:39 +01:00
type-fold.scm CPS type analysis support for mutable vs immutable vectors 2018-01-07 17:37:06 +01:00
types.scm Explode atomic box ops to new atomic instructions 2018-04-13 10:09:56 +02:00
utils.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
verify.scm Add $code CPS expression type 2018-04-10 17:06:27 +02:00
with-cps.scm Add missing files 2015-07-22 18:27:37 +02:00