comparison graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/inlining/InliningUtil.java @ 21682:df4579cb9503

Infer stamp in newly created return value phi in the inlining utility.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Wed, 03 Jun 2015 02:40:53 +0200
parents cd6b1b2189a0
children
comparison
equal deleted inserted replaced
21681:74943b9d532a 21682:df4579cb9503
626 returnNode.replaceAndDelete(endNode); 626 returnNode.replaceAndDelete(endNode);
627 } 627 }
628 628
629 if (returnValuePhi != null) { 629 if (returnValuePhi != null) {
630 assert returnValuePhi.verify(); 630 assert returnValuePhi.verify();
631 returnValuePhi.inferStamp();
631 return returnValuePhi; 632 return returnValuePhi;
632 } else { 633 } else {
633 return singleReturnValue; 634 return singleReturnValue;
634 } 635 }
635 } 636 }