equal
deleted
inserted
replaced
921 #endif // AARCH64 |
921 #endif // AARCH64 |
922 |
922 |
923 } else { |
923 } else { |
924 left_arg->load_item(); |
924 left_arg->load_item(); |
925 if (x->op() == Bytecodes::_imul && right_arg->is_constant()) { |
925 if (x->op() == Bytecodes::_imul && right_arg->is_constant()) { |
926 int c = right_arg->get_jint_constant(); |
926 jint c = right_arg->get_jint_constant(); |
927 if (c > 0 && (is_power_of_2(c) || is_power_of_2(c - 1) || is_power_of_2(c + 1))) { |
927 if (c > 0 && c < max_jint && (is_power_of_2(c) || is_power_of_2(c - 1) || is_power_of_2(c + 1))) { |
928 right_arg->dont_load_item(); |
928 right_arg->dont_load_item(); |
929 } else { |
929 } else { |
930 right_arg->load_item(); |
930 right_arg->load_item(); |
931 } |
931 } |
932 } else { |
932 } else { |