Mercurial > hg > graal-compiler
diff src/share/vm/opto/vectornode.hpp @ 3842:c7b60b601eb4
7069452: Cleanup NodeFlags
Summary: Remove flags which duplicate information in Node::NodeClasses.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 27 Jul 2011 17:28:36 -0700 |
parents | 08eb13460b3a |
children | 8c92982cbbc4 |
line wrap: on
line diff
--- a/src/share/vm/opto/vectornode.hpp Wed Jul 27 15:06:35 2011 -0700 +++ b/src/share/vm/opto/vectornode.hpp Wed Jul 27 17:28:36 2011 -0700 @@ -47,10 +47,10 @@ friend class VectorStoreNode; // ditto. VectorNode(Node* n1, uint vlen) : Node(NULL, n1), _length(vlen) { - init_flags(Flag_is_Vector); + init_class_id(Class_Vector); } VectorNode(Node* n1, Node* n2, uint vlen) : Node(NULL, n1, n2), _length(vlen) { - init_flags(Flag_is_Vector); + init_class_id(Class_Vector); } virtual int Opcode() const; @@ -389,7 +389,7 @@ public: VectorLoadNode(Node* c, Node* mem, Node* adr, const TypePtr* at, const Type *rt) : LoadNode(c,mem,adr,at,rt) { - init_flags(Flag_is_Vector); + init_class_id(Class_VectorLoad); } virtual int Opcode() const; @@ -617,7 +617,7 @@ public: VectorStoreNode(Node* c, Node* mem, Node* adr, const TypePtr* at, Node* val) : StoreNode(c,mem,adr,at,val) { - init_flags(Flag_is_Vector); + init_class_id(Class_VectorStore); } virtual int Opcode() const; @@ -635,7 +635,7 @@ static int opcode(int sopc, uint vlen); static VectorStoreNode* make(Compile* C, int opc, Node* ctl, Node* mem, - Node* adr, const TypePtr* atyp, VectorNode* val, + Node* adr, const TypePtr* atyp, Node* val, uint vlen); };