760 init_class_id(Class_AllocateArray); |
760 init_class_id(Class_AllocateArray); |
761 set_req(AllocateNode::ALength, count_val); |
761 set_req(AllocateNode::ALength, count_val); |
762 } |
762 } |
763 virtual int Opcode() const; |
763 virtual int Opcode() const; |
764 virtual uint size_of() const; // Size is bigger |
764 virtual uint size_of() const; // Size is bigger |
|
765 virtual Node *Ideal(PhaseGVN *phase, bool can_reshape); |
765 |
766 |
766 // Dig the length operand out of a array allocation site. |
767 // Dig the length operand out of a array allocation site. |
767 Node* Ideal_length() { |
768 Node* Ideal_length() { |
768 return in(AllocateNode::ALength); |
769 return in(AllocateNode::ALength); |
769 } |
770 } |