verify.cc (_Jv_BytecodeVerifier::branch_prepass): Use java_opcode as type for switch.

* verify.cc (_Jv_BytecodeVerifier::branch_prepass): Use
	java_opcode as type for switch.
	[op_wide]: Likewise.
	(_Jv_BytecodeVerifier::verify_instructions_0): Likewise.
	[op_invokevirtual]: Likewise.
	* include/java-insns.h (java_opcode): Give enum a name.

From-SVN: r47330
This commit is contained in:
Tom Tromey 2001-11-25 19:48:19 +00:00 committed by Tom Tromey
parent 200f4143a2
commit fa88ce26e5
3 changed files with 19 additions and 10 deletions

View file

@ -1,6 +1,6 @@
// java-insns.h - Instruction encodings. This is -*- c++ -*-
/* Copyright (C) 1999 Free Software Foundation
/* Copyright (C) 1999, 2001 Free Software Foundation
This file is part of libgcj.
@ -11,7 +11,7 @@ details. */
#ifndef __JAVA_INSNS_H__
#define __JAVA_INSNS_H__
enum
enum java_opcode
{
op_nop = 0x00,
op_aconst_null = 0x01,