verify.cc (_Jv_BytecodeVerifier::verify_instructions_0): Shift argument is an int, not a long.

* verify.cc (_Jv_BytecodeVerifier::verify_instructions_0)
	[op_lshl, op_lshr, op_lushr]: Shift argument is an int, not a
	long.

From-SVN: r47177
This commit is contained in:
Tom Tromey 2001-11-19 18:28:28 +00:00 committed by Tom Tromey
parent 7fcd721879
commit 94e1e142fa
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2001-11-19 Tom Tromey <tromey@redhat.com>
* verify.cc (_Jv_BytecodeVerifier::verify_instructions_0)
[op_lshl, op_lshr, op_lushr]: Shift argument is an int, not a
long.
2001-11-18 Tom Tromey <tromey@redhat.com>
* verify.cc (type::to_array): New method.

View File

@ -2132,15 +2132,18 @@ private:
case op_lmul:
case op_ldiv:
case op_lrem:
case op_lshl:
case op_lshr:
case op_lushr:
case op_land:
case op_lor:
case op_lxor:
pop_type (long_type);
push_type (pop_type (long_type));
break;
case op_lshl:
case op_lshr:
case op_lushr:
pop_type (int_type);
push_type (pop_type (long_type));
break;
case op_fadd:
case op_fsub:
case op_fmul: