src/hotspot/share/gc/shared/c2/barrierSetC2.hpp
changeset 51880 ec4c3c287ca7
parent 51806 1ecc914fb707
child 51984 2ef304ee001d
--- a/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp	Wed Sep 12 11:13:09 2018 +0200
+++ b/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp	Tue Sep 18 20:49:44 2018 +0200
@@ -76,14 +76,12 @@
 
 // This class wraps a node and a pointer type.
 class C2AccessValuePtr: public C2AccessValue {
-  int _alias_idx;
 
 public:
   C2AccessValuePtr(Node* node, const TypePtr* type) :
     C2AccessValue(node, reinterpret_cast<const Type*>(type)) {}
 
   const TypePtr* type() const { return reinterpret_cast<const TypePtr*>(_type); }
-  int alias_idx() const       { return _alias_idx; }
 };
 
 // This class wraps a bunch of context parameters thare are passed around in the
@@ -175,6 +173,7 @@
                                                 Node* new_val, const Type* value_type) const;
   virtual Node* atomic_xchg_at_resolved(C2AtomicAccess& access, Node* new_val, const Type* val_type) const;
   virtual Node* atomic_add_at_resolved(C2AtomicAccess& access, Node* new_val, const Type* val_type) const;
+  void pin_atomic_op(C2AtomicAccess& access) const;
 
 public:
   // This is the entry-point for the backend to perform accesses through the Access API.