Mercurial > hg > truffle
comparison src/share/vm/opto/callnode.hpp @ 704:ad8c635e757e
6823453: DeoptimizeALot causes fastdebug server jvm to fail with assert(false,"unscheduable graph")
Summary: Use a HaltNode on the fall through path of the AllocateArrayNode to indicate that it is unreachable if the array length is negative.
Reviewed-by: never, jrose
author | kvn |
---|---|
date | Fri, 03 Apr 2009 13:33:32 -0700 |
parents | 523ded093c31 |
children | bd02caa94611 9987d9d5eb0e |
comparison
equal
deleted
inserted
replaced
685:4e35bfab60a5 | 704:ad8c635e757e |
---|---|
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 } |