diff -r ae93017b2930 -r 2fccf735a116 src/share/vm/opto/matcher.cpp --- a/src/share/vm/opto/matcher.cpp Fri Jun 15 15:37:35 2018 +0000 +++ b/src/share/vm/opto/matcher.cpp Mon Jun 18 14:39:46 2018 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -193,7 +193,7 @@ const TypeTuple *range = C->tf()->range(); if( range->cnt() > TypeFunc::Parms ) { // If not a void function // Get ideal-register return type - int ireg = range->field_at(TypeFunc::Parms)->ideal_reg(); + uint ireg = range->field_at(TypeFunc::Parms)->ideal_reg(); // Get machine return register uint sop = C->start()->Opcode(); OptoRegPair regs = return_value(ireg, false);