hotspot/src/share/vm/opto/machnode.hpp
changeset 22856 03ad2cf18166
parent 22853 308672304981
child 22860 80a845ab5e4a
--- a/hotspot/src/share/vm/opto/machnode.hpp	Tue Nov 26 18:38:19 2013 -0800
+++ b/hotspot/src/share/vm/opto/machnode.hpp	Wed Nov 27 16:16:21 2013 -0800
@@ -315,6 +315,9 @@
   static const Pipeline *pipeline_class();
   virtual const Pipeline *pipeline() const;
 
+  // Returns true if this node is a check that can be implemented with a trap.
+  virtual bool is_TrapBasedCheckNode() const { return false; }
+
 #ifndef PRODUCT
   virtual const char *Name() const = 0; // Machine-specific name
   virtual void dump_spec(outputStream *st) const; // Print per-node info