opts for symbol-value and acons - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2014年09月23日 15:39:21 -0400
committerCamm Maguire <camm@debian.org>2014年09月23日 15:39:21 -0400
commit36ecbd836305b70c00f2642198eb4403c96da5a5 (patch)
treee10cf36fc606e24ce9fcfcb957308f45bdc46ea2
parentd1aa5b35051c9fe7569963210d7830a8b6dd6eb9 (diff)
downloadgcl-36ecbd836305b70c00f2642198eb4403c96da5a5.tar.gz
opts for symbol-value and acons
Diffstat
-rwxr-xr-xgcl/cmpnew/gcl_cmpopt.lsp 12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcl/cmpnew/gcl_cmpopt.lsp b/gcl/cmpnew/gcl_cmpopt.lsp
index deda86f12..81a9f5ef1 100755
--- a/gcl/cmpnew/gcl_cmpopt.lsp
+++ b/gcl/cmpnew/gcl_cmpopt.lsp
@@ -1270,3 +1270,15 @@ type_of(#0)==t_bitvector")
(push '((fixnum) t #.(compiler::flags) "({object _y=(object)#0;is_imm_fixnum(_y) ? Cnil : (is_imm_fixnum(_y->c.c_cdr) ? _y : (_y->d.f||_y->d.e ? Cnil : _y));})") (get 'si::static-inverse-cons 'compiler::inline-always))
(push '((t) t #.(compiler::flags) "({object _y=(object)fix(#0);is_imm_fixnum(_y) ? Cnil : (is_imm_fixnum(_y->c.c_cdr) ? _y : (_y->d.f||_y->d.e ? Cnil : _y));})") (get 'si::static-inverse-cons 'compiler::inline-unsafe))
(push '((fixnum) t #.(compiler::flags) "({object _y=(object)#0;is_imm_fixnum(_y) ? Cnil : (is_imm_fixnum(_y->c.c_cdr) ? _y : (_y->d.f||_y->d.e ? Cnil : _y));})") (get 'si::static-inverse-cons 'compiler::inline-unsafe))
+
+;;symbol-value
+(push '((t) t #.(compiler::flags) "(#0)->s.s_dbind")
+ (get 'symbol-value 'compiler::inline-unsafe))
+(push '((t) t #.(compiler::flags) "@0;type_of(#0)!=t_symbol ? (not_a_symbol(#0),Cnil) : ((#0)->s.s_dbind==OBJNULL ? (FEunbound_variable(#0),Cnil) : (#0)->s.s_dbind)")
+ (get 'symbol-value 'compiler::inline-always))
+(push '((symbol) t #.(compiler::flags) "@0;(#0)->s.s_dbind==OBJNULL ? (FEunbound_variable(#0),Cnil) : (#0)->s.s_dbind")
+ (get 'symbol-value 'compiler::inline-always))
+
+;;acons
+(push '((t t t) t #.(compiler::flags) "MMcons(MMcons((#0),(#1)),(#2))")
+ (get 'acons 'compiler::inline-always))
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月04日 17:48:38 +0000

AltStyle によって変換されたページ (->オリジナル) /