Mercurial > hg > truffle
diff src/share/vm/opto/matcher.hpp @ 14440:41b780b43b74
8029015: PPC64 (part 216): opto: trap based null and range checks
Summary: On PPC64 use tdi instruction that does a compare and raises SIGTRAP for NULL and range checks.
Reviewed-by: kvn
author | goetz |
---|---|
date | Wed, 27 Nov 2013 16:16:21 -0800 |
parents | 044b28168e20 |
children | abec000618bf a9becfeecd1b |
line wrap: on
line diff
--- a/src/share/vm/opto/matcher.hpp Tue Nov 26 18:38:19 2013 -0800 +++ b/src/share/vm/opto/matcher.hpp Wed Nov 27 16:16:21 2013 -0800 @@ -485,6 +485,8 @@ // retain the Node to act as a compiler ordering barrier. static bool post_store_load_barrier(const Node* mb); + // Does n lead to an uncommon trap that can cause deoptimization? + static bool branches_to_uncommon_trap(const Node *n); #ifdef ASSERT void dump_old2new_map(); // machine-independent to machine-dependent