< prev index next >

src/share/vm/opto/machnode.hpp

Print this page

        

@@ -525,10 +525,31 @@
   virtual void format( PhaseRegAlloc *, outputStream *st ) const;
   virtual void dump_spec(outputStream *st) const { } // No per-operand info
 #endif
 };
 
+//------------------------------MachMskNode-----------------------------------
+// Machine function Msk Node
+class MachMskNode : public MachIdealNode {
+private:
+  int _restore;
+public:
+  MachMskNode() : _restore(true) {}
+  MachMskNode(bool restore) : _restore(restore) {}
+  virtual void emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const;
+  virtual uint size(PhaseRegAlloc *ra_) const;
+
+  virtual const class Type *bottom_type() const { return Type::CONTROL; }
+
+  virtual int ideal_Opcode() const { return Op_Con; } // bogus; see output.cpp
+#ifndef PRODUCT
+  virtual const char *Name() const { return "Msk"; }
+  virtual void format(PhaseRegAlloc *, outputStream *st) const;
+  virtual void dump_spec(outputStream *st) const { } // No per-operand info
+#endif
+};
+
 //------------------------------MachSpillCopyNode------------------------------
 // Machine SpillCopy Node.  Copies 1 or 2 words from any location to any
 // location (stack or register).
 class MachSpillCopyNode : public MachIdealNode {
 public:
< prev index next >