Mercurial > hg > truffle
comparison src/share/vm/opto/multnode.cpp @ 17726:085b304a1cc5
8027754: Enable loop optimizations for loops with MathExact inside
Reviewed-by: kvn, iveresov
author | rbackman |
---|---|
date | Thu, 23 Jan 2014 12:08:28 +0100 |
parents | de95063c0e34 |
children | de9cd35a3d1f 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
17725:b4ce4e9eb97d | 17726:085b304a1cc5 |
---|---|
50 Node *p = fast_out(i); | 50 Node *p = fast_out(i); |
51 if (p->is_Proj()) { | 51 if (p->is_Proj()) { |
52 ProjNode *proj = p->as_Proj(); | 52 ProjNode *proj = p->as_Proj(); |
53 if (proj->_con == which_proj) { | 53 if (proj->_con == which_proj) { |
54 assert(Opcode() != Op_If || proj->Opcode() == (which_proj?Op_IfTrue:Op_IfFalse), "bad if #2"); | 54 assert(Opcode() != Op_If || proj->Opcode() == (which_proj?Op_IfTrue:Op_IfFalse), "bad if #2"); |
55 return proj; | |
56 } | |
57 } else if (p->is_FlagsProj()) { | |
58 FlagsProjNode *proj = p->as_FlagsProj(); | |
59 if (proj->_con == which_proj) { | |
60 return proj; | 55 return proj; |
61 } | 56 } |
62 } else { | 57 } else { |
63 assert(p == this && this->is_Start(), "else must be proj"); | 58 assert(p == this && this->is_Start(), "else must be proj"); |
64 continue; | 59 continue; |