From 94e1e142fad70bb55a1e321e17cd876e74872b54 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 19 Nov 2001 18:28:28 +0000 Subject: 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 --- libjava/verify.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libjava/verify.cc') 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: -- cgit v1.2.1