0.pre7.105:
[sbcl.git] / src / compiler / generic / core.lisp
index 3adbc7e..3d29e19 100644 (file)
@@ -57,7 +57,7 @@
                         (error "undefined assembler routine: ~S" name)))
                    (:foreign
                     (aver (stringp name))
-                    (or (sb!impl::foreign-symbol-address-as-integer name)
+                    (or (foreign-symbol-address-as-integer name)
                         (error "unknown foreign symbol: ~S")))
                    #!+x86
                    (:code-object
@@ -78,9 +78,9 @@
              (gethash info (core-object-patch-table object)))))
   (values))
 
-;;; Call the top-level lambda function dumped for Entry, returning the
-;;; values. Entry may be a :TOP-LEVEL-XEP functional.
-(defun core-call-top-level-lambda (entry object)
+;;; Call the top level lambda function dumped for ENTRY, returning the
+;;; values. ENTRY may be a :TOPLEVEL-XEP functional.
+(defun core-call-toplevel-lambda (entry object)
   (declare (type functional entry) (type core-object object))
   (funcall (or (gethash (leaf-info entry)
                        (core-object-entry-table object))
@@ -89,7 +89,7 @@
 ;;; Backpatch all the DEBUG-INFOs dumped so far with the specified
 ;;; SOURCE-INFO list. We also check that there are no outstanding forward
 ;;; references to functions.
-(defun fix-core-source-info (info object source-info)
+(defun fix-core-source-info (info object &optional source-info)
   (declare (type source-info info) (type core-object object))
   (aver (zerop (hash-table-count (core-object-patch-table object))))
   (let ((res (debug-source-for-info info)))