< prev index next >

src/share/vm/opto/machnode.cpp

Print this page

        

@@ -24,10 +24,13 @@
 
 #include "precompiled.hpp"
 #include "gc_interface/collectedHeap.hpp"
 #include "opto/machnode.hpp"
 #include "opto/regalloc.hpp"
+#if INCLUDE_ALL_GCS
+#include "gc_implementation/shenandoah/c2/shenandoahSupport.hpp"
+#endif
 
 //=============================================================================
 // Return the value requested
 // result register lookup, corresponding to int_format
 int MachOper::reg(PhaseRegAlloc *ra_, const Node *node) const {

@@ -783,10 +786,16 @@
 JVMState jvms_for_throw(0);
 JVMState *MachHaltNode::jvms() const {
   return &jvms_for_throw;
 }
 
+uint MachMemBarNode::size_of() const { return sizeof(*this); }
+
+const TypePtr *MachMemBarNode::adr_type() const {
+  return _adr_type;
+}
+
 //=============================================================================
 #ifndef PRODUCT
 void labelOper::int_format(PhaseRegAlloc *ra, const MachNode *node, outputStream *st) const {
   st->print("B%d", _block_num);
 }
< prev index next >