--- a/hotspot/src/share/vm/opto/mathexactnode.hpp Tue Jan 12 11:31:04 2016 +0100
+++ b/hotspot/src/share/vm/opto/mathexactnode.hpp Tue Jan 12 12:55:09 2016 +0100
@@ -48,7 +48,7 @@
OverflowINode(Node* in1, Node* in2) : OverflowNode(in1, in2) {}
virtual Node* Ideal(PhaseGVN* phase, bool can_reshape);
- virtual const Type* Value(PhaseTransform* phase) const;
+ virtual const Type* Value(PhaseGVN* phase) const;
virtual bool will_overflow(jint v1, jint v2) const = 0;
virtual bool can_overflow(const Type* t1, const Type* t2) const = 0;
@@ -61,7 +61,7 @@
OverflowLNode(Node* in1, Node* in2) : OverflowNode(in1, in2) {}
virtual Node* Ideal(PhaseGVN* phase, bool can_reshape);
- virtual const Type* Value(PhaseTransform* phase) const;
+ virtual const Type* Value(PhaseGVN* phase) const;
virtual bool will_overflow(jlong v1, jlong v2) const = 0;
virtual bool can_overflow(const Type* t1, const Type* t2) const = 0;