--- old/src/hotspot/share/opto/mulnode.cpp 2019-01-11 10:54:55.228160800 -0800 +++ new/src/hotspot/share/opto/mulnode.cpp 2019-01-11 10:54:54.631950700 -0800 @@ -1401,3 +1401,12 @@ return TypeF::make(fma(f1, f2, f3)); #endif } + +//============================================================================= +//------------------------------hash------------------------------------------- +// Hash function for MulAddS2INode. Operation is commutative with commutative pairs. +// The hash function must return the same value when edge swapping is performed. +uint MulAddS2INode::hash() const { + return (uintptr_t)in(1) + (uintptr_t)in(2) + (uintptr_t)in(3) + (uintptr_t)in(4) + Opcode(); +} +