Mercurial > hg > truffle
diff src/share/vm/opto/vectornode.hpp @ 2468:6c97c830fb6f
Merge
author | jrose |
---|---|
date | Sat, 09 Apr 2011 21:16:12 -0700 |
parents | 08eb13460b3a |
children | c7b60b601eb4 |
line wrap: on
line diff
--- a/src/share/vm/opto/vectornode.hpp Fri Apr 08 16:18:48 2011 -0700 +++ b/src/share/vm/opto/vectornode.hpp Sat Apr 09 21:16:12 2011 -0700 @@ -32,6 +32,7 @@ //------------------------------VectorNode-------------------------------------- // Vector Operation class VectorNode : public Node { + virtual uint size_of() const { return sizeof(*this); } protected: uint _length; // vector length virtual BasicType elt_basic_type() const = 0; // Vector element basic type