HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2a8ed
)
fix (apply f) -- without the args list
author
Andy Wingo
<wingo@pobox.com>
Fri, 6 Nov 2009 10:16:54 +0000
(11:16 +0100)
committer
Andy Wingo
<wingo@pobox.com>
Sun, 15 Nov 2009 20:03:32 +0000
(21:03 +0100)
* module/language/tree-il/primitives.scm (apply): Only inline if we
actually have an argument to apply.
module/language/tree-il/primitives.scm
patch
|
blob
|
blame
|
history
diff --git
a/module/language/tree-il/primitives.scm
b/module/language/tree-il/primitives.scm
index
8d93760
..
db49490
100644
(file)
--- a/
module/language/tree-il/primitives.scm
+++ b/
module/language/tree-il/primitives.scm
@@
-276,8
+276,8
@@
(define-primitive-expander acons (x y z)
(cons (cons x y) z))
-(define-primitive-expander apply (f . args)
- (@apply f . args))
+(define-primitive-expander apply (f
a0
. args)
+ (@apply f
a0
. args))
(define-primitive-expander call-with-values (producer consumer)
(@call-with-values producer consumer))