[armedbear-cvs] r12309 - trunk/abcl/src/org/armedbear/lisp
Erik Huelsmann
ehuelsmann at common-lisp.net
Fri Dec 25 22:34:54 UTC 2009
Author: ehuelsmann
Date: Fri Dec 25 17:34:53 2009
New Revision: 12309
Log:
Turn an inline named class name into a string constant.
Modified:
trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp
Modified: trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp (original)
+++ trunk/abcl/src/org/armedbear/lisp/compiler-pass2.lisp Fri Dec 25 17:34:53 2009
@@ -220,6 +220,8 @@
(defconstant +lisp-fixnum-class+ "org/armedbear/lisp/Fixnum")
(defconstant +lisp-fixnum+ "Lorg/armedbear/lisp/Fixnum;")
(defconstant +lisp-fixnum-array+ "[Lorg/armedbear/lisp/Fixnum;")
+(defconstant +lisp-function-proxy-class+
+ "org/armedbear/lisp/AutoloadedFunctionProxy")
(defconstant +lisp-bignum-class+ "org/armedbear/lisp/Bignum")
(defconstant +lisp-bignum+ "Lorg/armedbear/lisp/Bignum;")
(defconstant +lisp-single-float-class+ "org/armedbear/lisp/SingleFloat")
@@ -2070,7 +2072,7 @@
;; fixme *declare-inline*
(declare-field g +lisp-object+ +field-access-default+)
(emit 'ldc (pool-string (file-namestring pathname)))
- (emit-invokestatic "org/armedbear/lisp/AutoloadedFunctionProxy" "loadPreloadedFunction"
+ (emit-invokestatic +lisp-function-proxy-class+ "loadPreloadedFunction"
(list +java-string+) +lisp-object+)
(emit 'putstatic *this-class* g +lisp-object+)
(setf *static-code* *code*)
More information about the armedbear-cvs
mailing list