Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java @ 5369:2e9a5365dfb0
moved conversion of type profiles into hints for type check instructions from front end to lowering phase
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 09 May 2012 22:21:58 +0200 |
parents | b11561111585 |
children | 426c605c9d3c |
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java Wed May 09 16:39:52 2012 +0200 +++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/XirSite.java Wed May 09 22:21:58 2012 +0200 @@ -22,6 +22,8 @@ */ package com.oracle.max.cri.xir; +import com.oracle.max.cri.ci.*; + /** * Encapsulates the notion of a site where XIR can be supplied. It is supplied to the {@link RiXirGenerator} by the * compiler for each place where XIR can be generated. This interface allows a number of queries, including the @@ -65,4 +67,10 @@ * @return {@code true} if an array store check is required */ boolean requiresArrayStoreCheck(); + + /** + * The object for recording speculations made during compilation. + * May be null. + */ + CiAssumptions assumptions(); }