comparison src/share/vm/opto/machnode.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 15120a36272d
children 492e67693373
comparison
equal deleted inserted replaced
14439:50fdb38839eb 14440:41b780b43b74
313 313
314 // Get the pipeline info 314 // Get the pipeline info
315 static const Pipeline *pipeline_class(); 315 static const Pipeline *pipeline_class();
316 virtual const Pipeline *pipeline() const; 316 virtual const Pipeline *pipeline() const;
317 317
318 // Returns true if this node is a check that can be implemented with a trap.
319 virtual bool is_TrapBasedCheckNode() const { return false; }
320
318 #ifndef PRODUCT 321 #ifndef PRODUCT
319 virtual const char *Name() const = 0; // Machine-specific name 322 virtual const char *Name() const = 0; // Machine-specific name
320 virtual void dump_spec(outputStream *st) const; // Print per-node info 323 virtual void dump_spec(outputStream *st) const; // Print per-node info
321 void dump_format(PhaseRegAlloc *ra, outputStream *st) const; // access to virtual 324 void dump_format(PhaseRegAlloc *ra, outputStream *st) const; // access to virtual
322 #endif 325 #endif