mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
6667580: Optimize CmpP for allocations
CmpP could be optimized out if it compares new allocated objects. Reviewed-by: jrose, never, rasbold
This commit is contained in:
parent
9a4ccf8a06
commit
c223fed084
5 changed files with 19 additions and 6 deletions
|
@ -91,6 +91,7 @@ class Node_List;
|
|||
class Node_Stack;
|
||||
class NullCheckNode;
|
||||
class OopMap;
|
||||
class ParmNode;
|
||||
class PCTableNode;
|
||||
class PhaseCCP;
|
||||
class PhaseGVN;
|
||||
|
@ -557,6 +558,7 @@ public:
|
|||
DEFINE_CLASS_ID(JumpProj, Proj, 1)
|
||||
DEFINE_CLASS_ID(IfTrue, Proj, 2)
|
||||
DEFINE_CLASS_ID(IfFalse, Proj, 3)
|
||||
DEFINE_CLASS_ID(Parm, Proj, 4)
|
||||
|
||||
DEFINE_CLASS_ID(Region, Node, 3)
|
||||
DEFINE_CLASS_ID(Loop, Region, 0)
|
||||
|
@ -712,6 +714,7 @@ public:
|
|||
DEFINE_CLASS_QUERY(Mul)
|
||||
DEFINE_CLASS_QUERY(Multi)
|
||||
DEFINE_CLASS_QUERY(MultiBranch)
|
||||
DEFINE_CLASS_QUERY(Parm)
|
||||
DEFINE_CLASS_QUERY(PCTable)
|
||||
DEFINE_CLASS_QUERY(Phi)
|
||||
DEFINE_CLASS_QUERY(Proj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue