public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* new error checking
@ 2009-09-09  8:02 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-09-09  8:02 UTC (permalink / raw)
  To: cgen

Hi.

I checked in the following patch which adds some error checking.
All current ports pass, but heads up.

Over time we need to add more and more checks.
Ideally we should always run them, but I wonder if we
need an option to turn them off/on.

2009-09-09  Doug Evans  <dje@sebabeach.org>

	* ifield.scm (ifld-beyond-base?): Remove args base-bitsize,
	total-bitsize.  All callers updated.
	* insn.scm (<insn>): Rename member ifld-values to /insn-value.
	New member /insn-base-value.
	(insn-base-value): New function.
	* mach.scm (/sanity-check-insns): New function.
	(arch-analyze-insns!): Call it.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-09  8:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-09  8:02 new error checking Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).