This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: better error on VerifyError
- From: Tom Tromey <tromey at redhat dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: java at gcc dot gnu dot org
- Date: 15 Jan 2002 15:12:02 -0700
- Subject: Re: better error on VerifyError
- References: <3C449CD6.8030108@bothner.com>
- Reply-to: tromey at redhat dot com
>>>>> "Per" == Per Bothner <per@bothner.com> writes:
Per> The tradoff is an extra for each each type and state object vs an
Per> extra parameter in each method call. I lean towards the
Per> latter. The former probably requires fewer changes; however,
Per> however, it is easier to make the fixes on an incremental bases
Per> with the latter.
I think adding an extra parameter is fine. I tried to minimize memory
use when writing the verifier, so this would continue that idea.
There are already extra parameters passed around to avoid increasing
the size of a `state'. Unfortunately this makes ugly code.
Per> Then we can incrementally fix the callers of set_uninitialized to
Per> pass the verifier reference, and so on.
Thanks for looking at this.
Tom