--- old/src/share/vm/opto/addnode.hpp 2016-02-12 16:44:37.872895203 +0100 +++ new/src/share/vm/opto/addnode.hpp 2016-02-12 16:44:36.516162052 +0100 @@ -41,7 +41,7 @@ class AddNode : public Node { virtual uint hash() const; public: - AddNode( Node *in1, Node *in2 ) : Node(0,in1,in2) { + AddNode(Node *in1, Node *in2) : Node(0,in1,in2) { init_class_id(Class_Add); } @@ -58,16 +58,17 @@ virtual const Type* Value(PhaseGVN* phase) const; // Check if this addition involves the additive identity - virtual const Type *add_of_identity( const Type *t1, const Type *t2 ) const; + virtual const Type *add_of_identity(const Type *t1, const Type *t2) const; // Supplied function returns the sum of the inputs. // This also type-checks the inputs for sanity. Guaranteed never to // be passed a TOP or BOTTOM type, these are filtered out by a pre-check. - virtual const Type *add_ring( const Type *, const Type * ) const = 0; + virtual const Type *add_ring(const Type*, const Type*) const = 0; // Supplied function to return the additive identity type virtual const Type *add_id() const = 0; + static AddNode* make(BasicType bt, Node *in1, Node *in2); }; //------------------------------AddINode---------------------------------------