src/hotspot/share/gc/shared/c2/barrierSetC2.hpp
changeset 52429 b64514ff68fd
parent 52426 38bf0c9c4e64
child 52441 6082c529aed8
--- a/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp	Tue Nov 06 10:10:18 2018 -0800
+++ b/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp	Tue Nov 06 23:03:05 2018 +0100
@@ -245,6 +245,9 @@
                              Node*& fast_oop_ctrl, Node*& fast_oop_rawmem,
                              intx prefetch_lines) const;
 
+  virtual Node* ideal_node(PhaseGVN* phase, Node* n, bool can_reshape) const { return NULL; }
+  virtual Node* identity_node(PhaseGVN* phase, Node* n) const { return n; }
+
   // These are general helper methods used by C2
   enum ArrayCopyPhase {
     Parsing,