summaryrefslogtreecommitdiff
path: root/test/files/neg/inlineMaxSize.check
Commit message (Collapse)AuthorAgeFilesLines
* Enable nullness analysis in the inlinerLukas Rytz2015-05-251-2/+2
| | | | | | | When inlining an instance call, the inliner has to ensure that a NPE is still thrown if the receiver object is null. By using the nullness analysis, we can avoid emitting this code in case the receiver object is known to be not-null.
* Don't inlinie if the resulting method becomes too large for the JVMLukas Rytz2015-04-011-0/+9
This threshold is really the last resort and should never be reached. An inlining heuristic that blows up methods to the maximum size allowed by the JVM is broken. In the future we need to include some heuristic about code size when making an inlining decision, see github.com/scala-opt/scala/issues/2