lang.c (flag_new_verifier): Define.

* lang.c (flag_new_verifier): Define.
	(java_post_options): Set flag_new_verifier if indirect dispatch
	is being used.
	* lang.opt (fnew-verifier): Removed.

From-SVN: r91693
This commit is contained in:
Tom Tromey 2004-12-03 19:43:52 +00:00 committed by Tom Tromey
parent 8b45a0d38e
commit c56c2878f7
3 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2004-12-03 Tom Tromey <tromey@redhat.com>
* lang.c (flag_new_verifier): Define.
(java_post_options): Set flag_new_verifier if indirect dispatch
is being used.
* lang.opt (fnew-verifier): Removed.
2004-12-03 Tom Tromey <tromey@redhat.com>
PR bootstrap/14614:

View File

@ -139,6 +139,9 @@ int flag_deprecated = 1;
/* Don't attempt to verify invocations. */
int flag_verify_invocations = 0;
/* True if the new bytecode verifier should be used. */
int flag_new_verifier = 0;
/* When nonzero, print extra version information. */
static int v_flag = 0;
@ -608,6 +611,12 @@ java_post_options (const char **pfilename)
must always verify everything. */
if (! flag_indirect_dispatch)
flag_verify_invocations = true;
else
{
/* If we are using indirect dispatch, then we want the new
verifier as well. */
flag_new_verifier = 1;
}
/* Open input file. */

View File

@ -176,9 +176,5 @@ fuse-divide-subroutine
Java Var(flag_use_divide_subroutine) Init(1)
Call a library routine to do integer divisions
fnew-verifier
Java Var(flag_new_verifier)
Enable the new bytecode verifier
version
Java