OSDN Git Service

* operand.scm (op-nub): Delete.
authordevans <devans>
Sat, 21 Nov 2009 09:36:47 +0000 (09:36 +0000)
committerdevans <devans>
Sat, 21 Nov 2009 09:36:47 +0000 (09:36 +0000)
cgen/ChangeLog
cgen/operand.scm

index 245ab9f..a41c591 100644 (file)
@@ -1,5 +1,7 @@
 2009-11-21  Doug Evans  <dje@sebabeach.org>
 
+       * operand.scm (op-nub): Delete.
+
        * dev-utils.scm: New file.
        * dev.scm (srcdir, load-doc, load-opc, load-gtest, load-sid,
        load-sim, load-stest, load-testsuite): Moved to dev-utils.scm.
index 2cd5ccb..0e70430 100644 (file)
 
 (define (op:length operand) (send operand 'field-length))
 
-; Return the nub of a list of operands, base on their names.
-
-(define (op-nub op-list)
-  (nub op-list obj:name)
-)
-
 ; Return a sorted list of operand lists.
 ; Each element in the inner list is an operand with the same name, but for
 ; whatever reason were defined separately.
              (builtin-location) 'pc "program counter"
              (atlist-parse (make-prefix-context "make! of pc")
                            '(SEM-ONLY) "cgen_operand")
-             'h-pc
+             'h-pc ;; FIXME: keep name h-pc hardwired?
              'DFLT
              ;;(hw-index-scalar) ;; FIXME: change to this
              (make <hw-index> 'anonymous