Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/opto/matcher.hpp Wed Sep 17 12:59:52 2008 -0700 +++ b/src/share/vm/opto/matcher.hpp Tue Sep 23 12:29:06 2008 -0700 @@ -166,7 +166,7 @@ // 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 );