diff options
author | Tom Tromey <tromey@redhat.com> | 2001-11-19 18:28:28 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2001-11-19 18:28:28 +0000 |
commit | 94e1e142fad70bb55a1e321e17cd876e74872b54 (patch) | |
tree | 580117c8dc3b68f68a85eddb8104327d8e734abb /libjava/verify.cc | |
parent | 7fcd72187907e12fa670d7c4794641691b30e825 (diff) | |
download | gcc-94e1e142fad70bb55a1e321e17cd876e74872b54.tar.gz |
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
Diffstat (limited to 'libjava/verify.cc')
-rw-r--r-- | libjava/verify.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libjava/verify.cc b/libjava/verify.cc index 8c290a38d28..2562d1af25e 100644 --- a/libjava/verify.cc +++ b/libjava/verify.cc @@ -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: |