--- old/src/hotspot/share/opto/library_call.hpp 2020-08-07 00:36:30.000000000 +0300 +++ new/src/hotspot/share/opto/library_call.hpp 2020-08-07 00:36:29.000000000 +0300 @@ -23,6 +23,7 @@ */ #include "ci/ciMethod.hpp" +#include "classfile/javaClasses.hpp" #include "opto/callGenerator.hpp" #include "opto/graphKit.hpp" #include "opto/castnode.hpp" @@ -60,6 +61,7 @@ vmIntrinsics::ID intrinsic_id() const { return _intrinsic_id; } }; + // Local helper class for LibraryIntrinsic: class LibraryCallKit : public GraphKit { private: @@ -333,7 +335,7 @@ VecMaskNotUsed }; - bool arch_supports_vector(int op, int num_elem, BasicType type, VectorMaskUseType mask_use_type); + bool arch_supports_vector(int op, int num_elem, BasicType type, VectorMaskUseType mask_use_type, bool has_scalar_args = false); void clear_upper_avx() { #ifdef X86