Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/matcher.hpp @ 368:36ccc817fca4
6747051: Improve code and implicit null check generation for compressed oops
Summary: Push DecodeN node below the Null check to the non-null path to use the mach node without 0 test.
Reviewed-by: rasbold, never
author | kvn |
---|---|
date | Tue, 23 Sep 2008 12:29:06 -0700 |
parents | 9c2ecc2ffb12 |
children | 4d9884b01ba6 |
comparison
equal
deleted
inserted
replaced
367:194b8e3a2fc4 | 368:36ccc817fca4 |
---|---|
164 static bool is_spillable_arg( int reg ); | 164 static bool is_spillable_arg( int reg ); |
165 | 165 |
166 // List of IfFalse or IfTrue Nodes that indicate a taken null test. | 166 // List of IfFalse or IfTrue Nodes that indicate a taken null test. |
167 // List is valid in the post-matching space. | 167 // List is valid in the post-matching space. |
168 Node_List _null_check_tests; | 168 Node_List _null_check_tests; |
169 void collect_null_checks( Node *proj ); | 169 void collect_null_checks( Node *proj, Node *orig_proj ); |
170 void validate_null_checks( ); | 170 void validate_null_checks( ); |
171 | 171 |
172 Matcher( Node_List &proj_list ); | 172 Matcher( Node_List &proj_list ); |
173 | 173 |
174 // Select instructions for entire method | 174 // Select instructions for entire method |