< prev index next >

src/share/vm/opto/rootnode.hpp

Print this page

        

@@ -37,11 +37,11 @@
   RootNode( ) : LoopNode(0,0) {
     init_class_id(Class_Root);
     del_req(2);
     del_req(1);
   }
-  virtual int   Opcode() const;
+  virtual Opcodes  Opcode() const;
   virtual const Node *is_block_proj() const { return this; }
   virtual const Type *bottom_type() const { return Type::BOTTOM; }
   virtual Node* Identity(PhaseGVN* phase) { return this; }
   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
   virtual const Type* Value(PhaseGVN* phase) const { return Type::BOTTOM; }

@@ -50,21 +50,21 @@
 //------------------------------HaltNode---------------------------------------
 // Throw an exception & die
 class HaltNode : public Node {
 public:
   HaltNode( Node *ctrl, Node *frameptr );
-  virtual int Opcode() const;
+  virtual Opcodes Opcode() const;
   virtual bool  pinned() const { return true; };
   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
   virtual const Type* Value(PhaseGVN* phase) const;
   virtual const Type *bottom_type() const;
   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 Node *is_block_proj() const { return this; }
   virtual const RegMask &out_RegMask() const;
-  virtual uint ideal_reg() const { return NotAMachineReg; }
+  virtual Opcodes ideal_reg() const { return Opcodes::NotAMachineReg; }
   virtual uint match_edge(uint idx) const { return 0; }
 
 #ifndef PRODUCT
   virtual void related(GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const;
 #endif
< prev index next >