Mercurial > hg > graal-compiler
comparison src/share/vm/opto/vectornode.hpp @ 2445:08eb13460b3a
7004535: Clone loop predicate during loop unswitch
Summary: Clone loop predicate for clonned loops
Reviewed-by: never
author | kvn |
---|---|
date | Sat, 02 Apr 2011 10:54:15 -0700 |
parents | f95d63e2154a |
children | c7b60b601eb4 |
comparison
equal
deleted
inserted
replaced
2444:07acc51c1d2a | 2445: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); |