This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem with derived operands


Johan Rydberg writes:
 > ERROR: Unbound variable: op-ifld

'tis definately a bug in cgen.

I'm guessing this is the right patch.

[Whether you'll have more problems I dunno.
derived-operand support is still pretty much work-in-progress.]

2000-10-04  Doug Evans  <dje@casey.transmeta.com>

	* insn.scm (-parse-insn-format-symbol): Fix spelling error,
	op-ifld -> op-ifield.

*** insn.scm.~1~	Thu Jul 27 21:11:52 2000
--- insn.scm	Wed Oct  4 00:58:55 2000
***************
*** 512,518 ****
  	(cond ((derived-operand? op)
  	       ; There is a one-to-one relationship b/w derived operands and
  	       ; the associated derived ifield.
! 	       (let ((ifld (op-ifld op)))
  		 (assert (derived-ifield? ifld))
  		 ifld))
  	      ((anyof-operand? op)
--- 512,518 ----
  	(cond ((derived-operand? op)
  	       ; There is a one-to-one relationship b/w derived operands and
  	       ; the associated derived ifield.
! 	       (let ((ifld (op-ifield op)))
  		 (assert (derived-ifield? ifld))
  		 ifld))
  	      ((anyof-operand? op)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]