diff -r d637fd28a6c3 -r 03ad2cf18166 hotspot/src/share/vm/opto/machnode.hpp --- 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