summaryrefslogtreecommitdiff
path: root/module/system
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-01-10 21:56:30 +0100
committerAndy Wingo <wingo@pobox.com>2018-01-10 21:58:24 +0100
commitd355b42a3e7d1e314f2bd83d12d9d45e748e19e7 (patch)
treeb0e90dbee77cece66ca84af51ca34662e2d6b508 /module/system
parent9222e4df4b3673da662785f71d0f3c289ba8a8a5 (diff)
downloadguile-d355b42a3e7d1e314f2bd83d12d9d45e748e19e7.tar.gz
Add optimizer and backend support for gc-pointer-ref
* module/language/cps/compile-bytecode.scm (compile-function): * module/language/cps/cse.scm (compute-equivalent-subexpressions): * module/language/cps/effects-analysis.scm: * module/language/cps/reify-primitives.scm (reify-primitives): * module/language/cps/slot-allocation.scm (compute-var-representations): * module/language/cps/specialize-primcalls.scm (specialize-primcalls): * module/language/cps/types.scm (gc-pointer-ref/immediate): (gc-pointer-set!/immediate): * module/system/vm/assembler.scm: Add support for pointer-ref.
Diffstat (limited to 'module/system')
-rw-r--r--module/system/vm/assembler.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/system/vm/assembler.scm b/module/system/vm/assembler.scm
index 9be3fcfe1..0eb96cdf9 100644
--- a/module/system/vm/assembler.scm
+++ b/module/system/vm/assembler.scm
@@ -155,6 +155,9 @@
emit-word-ref/immediate
emit-word-set!/immediate
+ emit-gc-pointer-ref/immediate
+ emit-gc-pointer-set!/immediate
+
emit-call
emit-call-label
emit-tail-call