< prev index next >

src/share/vm/opto/narrowptrnode.hpp

Print this page

        

*** 36,46 **** init_class_id(Class_EncodeNarrowPtr); init_req(0, NULL); init_req(1, value); } public: ! virtual uint ideal_reg() const { return Op_RegN; } }; //------------------------------EncodeP-------------------------------- // Encodes an oop pointers into its compressed form // Takes an extra argument which is the real heap base as a long which --- 36,46 ---- init_class_id(Class_EncodeNarrowPtr); init_req(0, NULL); init_req(1, value); } public: ! virtual Opcodes ideal_reg() const { return Opcodes::Op_RegN; } }; //------------------------------EncodeP-------------------------------- // Encodes an oop pointers into its compressed form // Takes an extra argument which is the real heap base as a long which
*** 49,59 **** public: EncodePNode(Node* value, const Type* type): EncodeNarrowPtrNode(value, type) { init_class_id(Class_EncodeP); } ! virtual int Opcode() const; virtual Node* Identity(PhaseGVN* phase); virtual const Type* Value(PhaseGVN* phase) const; }; //------------------------------EncodePKlass-------------------------------- --- 49,59 ---- public: EncodePNode(Node* value, const Type* type): EncodeNarrowPtrNode(value, type) { init_class_id(Class_EncodeP); } ! virtual Opcodes Opcode() const; virtual Node* Identity(PhaseGVN* phase); virtual const Type* Value(PhaseGVN* phase) const; }; //------------------------------EncodePKlass--------------------------------
*** 64,74 **** public: EncodePKlassNode(Node* value, const Type* type): EncodeNarrowPtrNode(value, type) { init_class_id(Class_EncodePKlass); } ! virtual int Opcode() const; virtual Node* Identity(PhaseGVN* phase); virtual const Type* Value(PhaseGVN* phase) const; }; //------------------------------DecodeNarrowPtr-------------------------------- --- 64,74 ---- public: EncodePKlassNode(Node* value, const Type* type): EncodeNarrowPtrNode(value, type) { init_class_id(Class_EncodePKlass); } ! virtual Opcodes Opcode() const; virtual Node* Identity(PhaseGVN* phase); virtual const Type* Value(PhaseGVN* phase) const; }; //------------------------------DecodeNarrowPtr--------------------------------
*** 79,89 **** init_class_id(Class_DecodeNarrowPtr); init_req(0, NULL); init_req(1, value); } public: ! virtual uint ideal_reg() const { return Op_RegP; } }; //------------------------------DecodeN-------------------------------- // Converts a narrow oop into a real oop ptr. // Takes an extra argument which is the real heap base as a long which --- 79,89 ---- init_class_id(Class_DecodeNarrowPtr); init_req(0, NULL); init_req(1, value); } public: ! virtual Opcodes ideal_reg() const { return Opcodes::Op_RegP; } }; //------------------------------DecodeN-------------------------------- // Converts a narrow oop into a real oop ptr. // Takes an extra argument which is the real heap base as a long which
*** 92,102 **** public: DecodeNNode(Node* value, const Type* type): DecodeNarrowPtrNode(value, type) { init_class_id(Class_DecodeN); } ! virtual int Opcode() const; virtual const Type* Value(PhaseGVN* phase) const; virtual Node* Identity(PhaseGVN* phase); }; //------------------------------DecodeNKlass-------------------------------- --- 92,102 ---- public: DecodeNNode(Node* value, const Type* type): DecodeNarrowPtrNode(value, type) { init_class_id(Class_DecodeN); } ! virtual Opcodes Opcode() const; virtual const Type* Value(PhaseGVN* phase) const; virtual Node* Identity(PhaseGVN* phase); }; //------------------------------DecodeNKlass--------------------------------
*** 107,117 **** public: DecodeNKlassNode(Node* value, const Type* type): DecodeNarrowPtrNode(value, type) { init_class_id(Class_DecodeNKlass); } ! virtual int Opcode() const; virtual const Type* Value(PhaseGVN* phase) const; virtual Node* Identity(PhaseGVN* phase); }; #endif // SHARE_VM_OPTO_NARROWPTRNODE_HPP --- 107,117 ---- public: DecodeNKlassNode(Node* value, const Type* type): DecodeNarrowPtrNode(value, type) { init_class_id(Class_DecodeNKlass); } ! virtual Opcodes Opcode() const; virtual const Type* Value(PhaseGVN* phase) const; virtual Node* Identity(PhaseGVN* phase); }; #endif // SHARE_VM_OPTO_NARROWPTRNODE_HPP
< prev index next >