projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f659b28
)
Migrate BOUNDP and FBOUNDP
author
David Vázquez
<davazp@gmail.com>
Sun, 23 Jun 2013 19:24:13 +0000
(21:24 +0200)
committer
David Vázquez
<davazp@gmail.com>
Sun, 23 Jun 2013 19:24:13 +0000
(21:24 +0200)
src/compiler.lisp
patch
|
blob
|
history
diff --git
a/src/compiler.lisp
b/src/compiler.lisp
index
1663dae
..
92c847f
100644
(file)
--- a/
src/compiler.lisp
+++ b/
src/compiler.lisp
@@
-1132,10
+1132,10
@@
`(= (get ,symbol "fvalue") ,value))
(define-builtin boundp (x)
- (js!bool `(code "(" ,x ".value !== undefined)")))
+ (js!bool `(!== (get ,x "value") undefined)))
(define-builtin fboundp (x)
- (js!bool `(code "(" ,x ".fvalue !== undefined)")))
+ (js!bool `(!== (get ,x "fvalue") undefined)))
(define-builtin symbol-value (x)
(js!selfcall