< prev index next >

src/share/vm/opto/multnode.hpp

Print this page

        

@@ -36,18 +36,18 @@
 class MultiNode : public Node {
 public:
   MultiNode( uint required ) : Node(required) {
     init_class_id(Class_Multi);
   }
-  virtual int Opcode() const;
+  virtual Opcodes Opcode() const;
   virtual const Type *bottom_type() const = 0;
   virtual bool       is_CFG() const { return true; }
   virtual uint hash() const { return NO_HASH; }  // CFG nodes do not hash
   virtual bool depends_only_on_test() const { return false; }
   virtual const RegMask &out_RegMask() const;
   virtual Node *match( const ProjNode *proj, const Matcher *m );
-  virtual uint ideal_reg() const { return NotAMachineReg; }
+  virtual Opcodes ideal_reg() const { return Opcodes::NotAMachineReg; }
   ProjNode* proj_out(uint which_proj) const; // Get a named projection
 
 };
 
 //------------------------------ProjNode---------------------------------------

@@ -73,18 +73,18 @@
     debug_only(check_con());
   }
   const uint _con;              // The field in the tuple we are projecting
   const bool _is_io_use;        // Used to distinguish between the projections
                                 // used on the control and io paths from a macro node
-  virtual int Opcode() const;
+  virtual Opcodes Opcode() const;
   virtual bool      is_CFG() const;
   virtual bool depends_only_on_test() const { return false; }
   virtual const Type *bottom_type() const;
   virtual const TypePtr *adr_type() const;
   virtual bool pinned() const;
   virtual const Type* Value(PhaseGVN* phase) const;
-  virtual uint ideal_reg() const;
+  virtual Opcodes ideal_reg() const;
   virtual const RegMask &out_RegMask() const;
 
 #ifndef PRODUCT
   virtual void dump_spec(outputStream *st) const;
   virtual void dump_compact_spec(outputStream *st) const;
< prev index next >