Commit 94e1e142 by Tom Tromey Committed by Tom Tromey

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
parent 7fcd7218
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> 2001-11-18 Tom Tromey <tromey@redhat.com>
* verify.cc (type::to_array): New method. * verify.cc (type::to_array): New method.
......
...@@ -2132,15 +2132,18 @@ private: ...@@ -2132,15 +2132,18 @@ private:
case op_lmul: case op_lmul:
case op_ldiv: case op_ldiv:
case op_lrem: case op_lrem:
case op_lshl:
case op_lshr:
case op_lushr:
case op_land: case op_land:
case op_lor: case op_lor:
case op_lxor: case op_lxor:
pop_type (long_type); pop_type (long_type);
push_type (pop_type (long_type)); push_type (pop_type (long_type));
break; 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_fadd:
case op_fsub: case op_fsub:
case op_fmul: case op_fmul:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment