--- a/src/hotspot/share/opto/machnode.hpp Thu Mar 01 15:47:48 2018 +0100
+++ b/src/hotspot/share/opto/machnode.hpp Thu Mar 01 17:00:23 2018 +0100
@@ -301,7 +301,7 @@
// Bottom_type call; value comes from operand0
virtual const class Type *bottom_type() const { return _opnds[0]->type(); }
- virtual uint ideal_reg() const { const Type *t = _opnds[0]->type(); return t == TypeInt::CC ? Op_RegFlags : t->ideal_reg(); }
+ virtual uint ideal_reg() const { const Type *t = _opnds[0]->type(); return t == TypeInt::CC ? (uint) Op_RegFlags : t->ideal_reg(); }
// If this is a memory op, return the base pointer and fixed offset.
// If there are no such, return NULL. If there are multiple addresses