verify.cc (construct_primitive_array_type): New case.

* verify.cc (construct_primitive_array_type) [void_type]: New
	case.
	(branch_prepass): Added dummy entries for unused instruction
	values.
	(verify_instructions_0): Likewise.
	* interpret.cc (continue1): Comment fix.
	* include/java-insns.h (op_xxxunusedxxx1): Removed.
	* Makefile.in: Rebuilt.
	* Makefile.am: Added -Wswitch-enum.

From-SVN: r52814
This commit is contained in:
Tom Tromey 2002-04-26 22:39:29 +00:00 committed by Tom Tromey
parent 9e84766671
commit b446a5f169
6 changed files with 81 additions and 3 deletions

View file

@ -1,6 +1,6 @@
// java-insns.h - Instruction encodings. This is -*- c++ -*-
/* Copyright (C) 1999, 2001 Free Software Foundation
/* Copyright (C) 1999, 2001, 2002 Free Software Foundation
This file is part of libgcj.
@ -199,7 +199,9 @@ enum java_opcode
op_invokespecial = 0xb7,
op_invokestatic = 0xb8,
op_invokeinterface = 0xb9,
op_xxxunusedxxx1 = 0xba,
// 0xba is unused.
op_new = 0xbb,
op_newarray = 0xbc,
op_anewarray = 0xbd,