~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/cmp/cmpct.lsp

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2006-06-21 09:21:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060621092121-txz1f21lj0wh0f67
Tags: 0.9h-20060617-1
* New upstream version
* Updated standards version without real changes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
(defvar +optimizable-constant+ '())
15
15
 
16
 
(defun c1constant-value (val always-p)
 
16
(defun c1constant-value (val &key always only-small-values)
17
17
  (cond
18
18
   ((let ((x (assoc val +optimizable-constant+)))
19
19
      (and x (c1expr (cdr x)))))
30
30
   ((typep val 'SHORT-FLOAT)
31
31
    (make-c1form* 'LOCATION :type 'SHORT-FLOAT
32
32
                  :args (list 'SHORT-FLOAT-VALUE val (add-object val))))
33
 
   (always-p
 
33
   (always
34
34
    (make-c1form* 'LOCATION :type (object-type val)
35
35
                  :args (list 'VV (add-object val))))
 
36
   (only-small-values nil)
36
37
   (t nil)))
37
38
 
38
39
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;