Mercurial > hg > truffle
diff graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiResolvedMethod.java @ 4296:d089b71a5237
Add possibility to disable inlining for specific methods.
Clear the HotSpotMethodResolvedImpl constructor, for it's never called.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Wed, 18 Jan 2012 16:21:54 +0100 |
parents | aaac4894175c |
children | dc6f6e2f1a00 |
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiResolvedMethod.java Wed Jan 18 15:04:03 2012 -0800 +++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiResolvedMethod.java Wed Jan 18 16:21:54 2012 +0100 @@ -225,4 +225,9 @@ * @see Method#getGenericReturnType() */ Type getGenericReturnType(); + + /** + * @return {@code true} if this method can be inlined + */ + boolean canBeInlined(); }