6895383: JCK test throws NPE for method compiled with Escape Analysis

Add missing checks for MemBar nodes in EA.

Reviewed-by: never
This commit is contained in:
Vladimir Kozlov 2009-12-09 16:40:45 -08:00
parent dfbb0bf3e2
commit 9f5ca0249d
10 changed files with 510 additions and 212 deletions

View file

@ -47,6 +47,7 @@ class CallStaticJavaNode;
class CatchNode;
class CatchProjNode;
class CheckCastPPNode;
class ClearArrayNode;
class CmpNode;
class CodeBuffer;
class ConstraintCastNode;
@ -599,8 +600,9 @@ public:
DEFINE_CLASS_ID(BoxLock, Node, 10)
DEFINE_CLASS_ID(Add, Node, 11)
DEFINE_CLASS_ID(Mul, Node, 12)
DEFINE_CLASS_ID(ClearArray, Node, 13)
_max_classes = ClassMask_Mul
_max_classes = ClassMask_ClearArray
};
#undef DEFINE_CLASS_ID
@ -698,6 +700,7 @@ public:
DEFINE_CLASS_QUERY(CatchProj)
DEFINE_CLASS_QUERY(CheckCastPP)
DEFINE_CLASS_QUERY(ConstraintCast)
DEFINE_CLASS_QUERY(ClearArray)
DEFINE_CLASS_QUERY(CMove)
DEFINE_CLASS_QUERY(Cmp)
DEFINE_CLASS_QUERY(CountedLoop)