6747051: Improve code and implicit null check generation for compressed oops

Push DecodeN node below the Null check to the non-null path to use the mach node without 0 test.

Reviewed-by: rasbold, never
This commit is contained in:
Vladimir Kozlov 2008-09-23 12:29:06 -07:00
parent 4b1e242299
commit b15796424e
6 changed files with 209 additions and 32 deletions

View file

@ -166,7 +166,7 @@ public:
// List of IfFalse or IfTrue Nodes that indicate a taken null test.
// List is valid in the post-matching space.
Node_List _null_check_tests;
void collect_null_checks( Node *proj );
void collect_null_checks( Node *proj, Node *orig_proj );
void validate_null_checks( );
Matcher( Node_List &proj_list );