summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2010-04-27 23:04:39 +0200
committerAndy Wingo <wingo@pobox.com>2010-04-27 23:04:39 +0200
commit52272fc764d0ca3eee00dcf7f1f51734198ad777 (patch)
tree9d484d2a829ca5e9e66dd127a8f2355d2834f6e8
parentd2b7b761e510e9616db837b2e72819c90a3db25b (diff)
downloadguile-52272fc764d0ca3eee00dcf7f1f51734198ad777.tar.gz
fix bug in compile-glil.scm for return opcode-hack
* module/language/tree-il/compile-glil.scm (*primcall-ops*): Fix entry for `return'. Thanks to Jon Herron for the report.
-rw-r--r--THANKS1
-rw-r--r--module/language/tree-il/compile-glil.scm2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS b/THANKS
index 2649a2a9a..cdab8403f 100644
--- a/THANKS
+++ b/THANKS
@@ -56,6 +56,7 @@ For fixes or providing information which led to a fix:
Sven Hartrumpf
Eric Hanchrow
Judy Hawkins
+ Jon Herron
Sam Hocevar
Patrick Horgan
Ales Hvezda
diff --git a/module/language/tree-il/compile-glil.scm b/module/language/tree-il/compile-glil.scm
index b45423a3c..4d5e29b64 100644
--- a/module/language/tree-il/compile-glil.scm
+++ b/module/language/tree-il/compile-glil.scm
@@ -123,7 +123,7 @@
(make-struct . make-struct)
;; hack for javascript
- ((return . 1) return)
+ ((return . 1) . return)
((bytevector-u8-ref . 2) . bv-u8-ref)
((bytevector-u8-set! . 3) . bv-u8-set)