diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-09-17 20:15:36 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-09-18 10:32:28 +0200 |
commit | 41e5ef4396a1526cd8c58157912ffed830a96f1e (patch) | |
tree | d406ff22f3588ac9c47ff0067a002efa30ca5cef /test/files/run | |
parent | 59a5d3b8fd036d36afcf6349bc3cc527344981a1 (diff) | |
download | scala-41e5ef4396a1526cd8c58157912ffed830a96f1e.tar.gz scala-41e5ef4396a1526cd8c58157912ffed830a96f1e.tar.bz2 scala-41e5ef4396a1526cd8c58157912ffed830a96f1e.zip |
First version of inliningh heuristics that prefer higher-order methos
When invoking a higher-order method and the value passed for the
SAM type is either a function literal or a parameter of the callsite
method, inline the higher-order method into the callee.
This is a first version, the heuristics will be refined further.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/mapConserve.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/mapConserve.scala b/test/files/run/mapConserve.scala index c17754283a..95cad69954 100644 --- a/test/files/run/mapConserve.scala +++ b/test/files/run/mapConserve.scala @@ -1,5 +1,5 @@ /* - * filter: inliner warnings; re-run with + * filter: inliner warning */ import scala.annotation.tailrec import scala.collection.mutable.ListBuffer |