mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 03:36:44 +08:00
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:
parent
7fcd721879
commit
94e1e142fa
@ -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.
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user