Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
14439:50fdb38839eb | 14440:41b780b43b74 |
---|---|
483 // Check for a following volatile memory barrier without an | 483 // Check for a following volatile memory barrier without an |
484 // intervening load and thus we don't need a barrier here. We | 484 // intervening load and thus we don't need a barrier here. We |
485 // retain the Node to act as a compiler ordering barrier. | 485 // retain the Node to act as a compiler ordering barrier. |
486 static bool post_store_load_barrier(const Node* mb); | 486 static bool post_store_load_barrier(const Node* mb); |
487 | 487 |
488 // Does n lead to an uncommon trap that can cause deoptimization? | |
489 static bool branches_to_uncommon_trap(const Node *n); | |
488 | 490 |
489 #ifdef ASSERT | 491 #ifdef ASSERT |
490 void dump_old2new_map(); // machine-independent to machine-dependent | 492 void dump_old2new_map(); // machine-independent to machine-dependent |
491 | 493 |
492 Node* find_old_node(Node* new_node) { | 494 Node* find_old_node(Node* new_node) { |