aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r--gcc/java/lang.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index bcf4e45..b89bdf9 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -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. */