< prev index next >

src/share/vm/opto/connode.hpp

Print this page

        

*** 38,48 **** public: ConNode( const Type *t ) : TypeNode(t->remove_speculative(),1) { init_req(0, (Node*)Compile::current()->root()); init_flags(Flag_is_Con); } ! virtual int Opcode() const; virtual uint hash() const; virtual const RegMask &out_RegMask() const { return RegMask::Empty; } virtual const RegMask &in_RegMask(uint) const { return RegMask::Empty; } // Polymorphic factory method: --- 38,48 ---- public: ConNode( const Type *t ) : TypeNode(t->remove_speculative(),1) { init_req(0, (Node*)Compile::current()->root()); init_flags(Flag_is_Con); } ! virtual uint Opcode() const; virtual uint hash() const; virtual const RegMask &out_RegMask() const { return RegMask::Empty; } virtual const RegMask &in_RegMask(uint) const { return RegMask::Empty; } // Polymorphic factory method:
*** 52,62 **** //------------------------------ConINode--------------------------------------- // Simple integer constants class ConINode : public ConNode { public: ConINode( const TypeInt *t ) : ConNode(t) {} ! virtual int Opcode() const; // Factory method: static ConINode* make(int con) { return new ConINode( TypeInt::make(con) ); } --- 52,62 ---- //------------------------------ConINode--------------------------------------- // Simple integer constants class ConINode : public ConNode { public: ConINode( const TypeInt *t ) : ConNode(t) {} ! virtual uint Opcode() const; // Factory method: static ConINode* make(int con) { return new ConINode( TypeInt::make(con) ); }
*** 66,76 **** //------------------------------ConPNode--------------------------------------- // Simple pointer constants class ConPNode : public ConNode { public: ConPNode( const TypePtr *t ) : ConNode(t) {} ! virtual int Opcode() const; // Factory methods: static ConPNode* make(address con) { if (con == NULL) return new ConPNode( TypePtr::NULL_PTR ) ; --- 66,76 ---- //------------------------------ConPNode--------------------------------------- // Simple pointer constants class ConPNode : public ConNode { public: ConPNode( const TypePtr *t ) : ConNode(t) {} ! virtual uint Opcode() const; // Factory methods: static ConPNode* make(address con) { if (con == NULL) return new ConPNode( TypePtr::NULL_PTR ) ;
*** 83,110 **** //------------------------------ConNNode-------------------------------------- // Simple narrow oop constants class ConNNode : public ConNode { public: ConNNode( const TypeNarrowOop *t ) : ConNode(t) {} ! virtual int Opcode() const; }; //------------------------------ConNKlassNode--------------------------------- // Simple narrow klass constants class ConNKlassNode : public ConNode { public: ConNKlassNode( const TypeNarrowKlass *t ) : ConNode(t) {} ! virtual int Opcode() const; }; //------------------------------ConLNode--------------------------------------- // Simple long constants class ConLNode : public ConNode { public: ConLNode( const TypeLong *t ) : ConNode(t) {} ! virtual int Opcode() const; // Factory method: static ConLNode* make(jlong con) { return new ConLNode( TypeLong::make(con) ); } --- 83,110 ---- //------------------------------ConNNode-------------------------------------- // Simple narrow oop constants class ConNNode : public ConNode { public: ConNNode( const TypeNarrowOop *t ) : ConNode(t) {} ! virtual uint Opcode() const; }; //------------------------------ConNKlassNode--------------------------------- // Simple narrow klass constants class ConNKlassNode : public ConNode { public: ConNKlassNode( const TypeNarrowKlass *t ) : ConNode(t) {} ! virtual uint Opcode() const; }; //------------------------------ConLNode--------------------------------------- // Simple long constants class ConLNode : public ConNode { public: ConLNode( const TypeLong *t ) : ConNode(t) {} ! virtual uint Opcode() const; // Factory method: static ConLNode* make(jlong con) { return new ConLNode( TypeLong::make(con) ); }
*** 114,124 **** //------------------------------ConFNode--------------------------------------- // Simple float constants class ConFNode : public ConNode { public: ConFNode( const TypeF *t ) : ConNode(t) {} ! virtual int Opcode() const; // Factory method: static ConFNode* make(float con) { return new ConFNode( TypeF::make(con) ); } --- 114,124 ---- //------------------------------ConFNode--------------------------------------- // Simple float constants class ConFNode : public ConNode { public: ConFNode( const TypeF *t ) : ConNode(t) {} ! virtual uint Opcode() const; // Factory method: static ConFNode* make(float con) { return new ConFNode( TypeF::make(con) ); }
*** 128,138 **** //------------------------------ConDNode--------------------------------------- // Simple double constants class ConDNode : public ConNode { public: ConDNode( const TypeD *t ) : ConNode(t) {} ! virtual int Opcode() const; // Factory method: static ConDNode* make(double con) { return new ConDNode( TypeD::make(con) ); } --- 128,138 ---- //------------------------------ConDNode--------------------------------------- // Simple double constants class ConDNode : public ConNode { public: ConDNode( const TypeD *t ) : ConNode(t) {} ! virtual uint Opcode() const; // Factory method: static ConDNode* make(double con) { return new ConDNode( TypeD::make(con) ); }
*** 142,152 **** //------------------------------ThreadLocalNode-------------------------------- // Ideal Node which returns the base of ThreadLocalStorage. class ThreadLocalNode : public Node { public: ThreadLocalNode( ) : Node((Node*)Compile::current()->root()) {} ! virtual int Opcode() const; virtual const Type *bottom_type() const { return TypeRawPtr::BOTTOM;} virtual uint ideal_reg() const { return Op_RegP; } }; --- 142,152 ---- //------------------------------ThreadLocalNode-------------------------------- // Ideal Node which returns the base of ThreadLocalStorage. class ThreadLocalNode : public Node { public: ThreadLocalNode( ) : Node((Node*)Compile::current()->root()) {} ! virtual uint Opcode() const; virtual const Type *bottom_type() const { return TypeRawPtr::BOTTOM;} virtual uint ideal_reg() const { return Op_RegP; } };
< prev index next >