src/share/vm/opto/vectornode.hpp

changeset 2727
08eb13460b3a
parent 2314
f95d63e2154a
child 3040
c7b60b601eb4
equal deleted inserted replaced
2726:07acc51c1d2a 2727:08eb13460b3a
30 #include "opto/opcodes.hpp" 30 #include "opto/opcodes.hpp"
31 31
32 //------------------------------VectorNode-------------------------------------- 32 //------------------------------VectorNode--------------------------------------
33 // Vector Operation 33 // Vector Operation
34 class VectorNode : public Node { 34 class VectorNode : public Node {
35 virtual uint size_of() const { return sizeof(*this); }
35 protected: 36 protected:
36 uint _length; // vector length 37 uint _length; // vector length
37 virtual BasicType elt_basic_type() const = 0; // Vector element basic type 38 virtual BasicType elt_basic_type() const = 0; // Vector element basic type
38 39
39 static const Type* vect_type(BasicType elt_bt, uint len); 40 static const Type* vect_type(BasicType elt_bt, uint len);

mercurial