< prev index next >

src/hotspot/share/opto/graphKit.hpp

Print this page

        

@@ -766,10 +766,11 @@
 
   // Allow reordering of pre-barrier with oop store and/or post-barrier.
   // Used for load_store operations which loads old value.
   bool can_move_pre_barrier() const;
 
+#if INCLUDE_G1GC
   // G1 pre/post barriers
   void g1_write_barrier_pre(bool do_load,
                             Node* obj,
                             Node* adr,
                             uint alias_idx,

@@ -792,10 +793,11 @@
                     Node* buffer, const TypeFunc* tf);
 
   bool g1_can_remove_pre_barrier(PhaseTransform* phase, Node* adr, BasicType bt, uint adr_idx);
 
   bool g1_can_remove_post_barrier(PhaseTransform* phase, Node* store, Node* adr);
+#endif // INCLUDE_G1GC
 
   public:
   // Helper function to round double arguments before a call
   void round_double_arguments(ciMethod* dest_method);
   void round_double_result(ciMethod* dest_method);
< prev index next >