--- old/src/share/vm/opto/mathexactnode.hpp 2016-07-11 22:46:40.678397816 +0900 +++ new/src/share/vm/opto/mathexactnode.hpp 2016-07-11 22:46:40.542398292 +0900 @@ -38,7 +38,7 @@ public: OverflowNode(Node* in1, Node* in2) : CmpNode(in1, in2) {} - virtual uint ideal_reg() const { return Op_RegFlags; } + virtual Opcodes ideal_reg() const { return Opcodes::Op_RegFlags; } virtual const Type* sub(const Type* t1, const Type* t2) const; }; @@ -72,7 +72,7 @@ typedef AddINode MathOp; OverflowAddINode(Node* in1, Node* in2) : OverflowINode(in1, in2) {} - virtual int Opcode() const; + virtual Opcodes Opcode() const; virtual bool will_overflow(jint v1, jint v2) const; virtual bool can_overflow(const Type* t1, const Type* t2) const; @@ -83,7 +83,7 @@ typedef SubINode MathOp; OverflowSubINode(Node* in1, Node* in2) : OverflowINode(in1, in2) {} - virtual int Opcode() const; + virtual Opcodes Opcode() const; virtual bool will_overflow(jint v1, jint v2) const; virtual bool can_overflow(const Type* t1, const Type* t2) const; @@ -94,7 +94,7 @@ typedef MulINode MathOp; OverflowMulINode(Node* in1, Node* in2) : OverflowINode(in1, in2) {} - virtual int Opcode() const; + virtual Opcodes Opcode() const; virtual bool will_overflow(jint v1, jint v2) const; virtual bool can_overflow(const Type* t1, const Type* t2) const; @@ -105,7 +105,7 @@ typedef AddLNode MathOp; OverflowAddLNode(Node* in1, Node* in2) : OverflowLNode(in1, in2) {} - virtual int Opcode() const; + virtual Opcodes Opcode() const; virtual bool will_overflow(jlong v1, jlong v2) const; virtual bool can_overflow(const Type* t1, const Type* t2) const; @@ -116,7 +116,7 @@ typedef SubLNode MathOp; OverflowSubLNode(Node* in1, Node* in2) : OverflowLNode(in1, in2) {} - virtual int Opcode() const; + virtual Opcodes Opcode() const; virtual bool will_overflow(jlong v1, jlong v2) const; virtual bool can_overflow(const Type* t1, const Type* t2) const; @@ -127,7 +127,7 @@ typedef MulLNode MathOp; OverflowMulLNode(Node* in1, Node* in2) : OverflowLNode(in1, in2) {} - virtual int Opcode() const; + virtual Opcodes Opcode() const; virtual bool will_overflow(jlong v1, jlong v2) const; virtual bool can_overflow(const Type* t1, const Type* t2) const;