diff options
author | Andy Wingo <wingo@pobox.com> | 2010-01-30 15:09:41 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-01-31 20:40:24 +0100 |
commit | 9b7ca73cfe4d6f82811d5dac8706237690834287 (patch) | |
tree | 58d68401008f588519750cb4a7095d9ef264d1ba /module/language/assembly/decompile-bytecode.scm | |
parent | c6601f1077b079d04a377164dbe1fb70bb2b0979 (diff) | |
download | guile-9b7ca73cfe4d6f82811d5dac8706237690834287.tar.gz |
GLIL and assembly support for prompt compilation
* module/language/glil/compile-assembly.scm (glil->assembly): Compile
<glil-prompt> appropriately.
* module/language/assembly/disassemble.scm (code-annotation):
* module/language/assembly/decompile-bytecode.scm (decode-load-program):
* module/language/assembly/compile-bytecode.scm (write-bytecode):
Assemble and disassemble `prompt' appropriately.
Diffstat (limited to 'module/language/assembly/decompile-bytecode.scm')
-rw-r--r-- | module/language/assembly/decompile-bytecode.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/language/assembly/decompile-bytecode.scm b/module/language/assembly/decompile-bytecode.scm index 6d41da2cb..a021b5738 100644 --- a/module/language/assembly/decompile-bytecode.scm +++ b/module/language/assembly/decompile-bytecode.scm @@ -1,6 +1,6 @@ ;;; Guile VM code converters -;; Copyright (C) 2001, 2009 Free Software Foundation, Inc. +;; Copyright (C) 2001, 2009, 2010 Free Software Foundation, Inc. ;;;; This library is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU Lesser General Public @@ -90,6 +90,8 @@ (lp (cons `(,br ,hi ,lo ,(ensure-label rel1 rel2 rel3)) out))) ((mv-call ,n ,rel1 ,rel2 ,rel3) (lp (cons `(mv-call ,n ,(ensure-label rel1 rel2 rel3)) out))) + ((prompt ,n0 ,n1 ,rel1 ,rel2 ,rel3) + (lp (cons `(prompt ,n0 ,n1 ,(ensure-label rel1 rel2 rel3)) out))) (else (lp (cons exp out)))))))))) |