summaryrefslogtreecommitdiff
path: root/test/files/run/t7852.flags
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2015-12-11 15:30:15 +0100
committerLukas Rytz <lukas.rytz@gmail.com>2015-12-15 15:12:51 +0100
commit80b0660efbc10325a657812720f99aff7410f0ce (patch)
tree08cee07960ee4f349fd1762e0ac9cca3100a47c4 /test/files/run/t7852.flags
parenteacaee2a2a5dde6bb3f38cd414259d3517976cf6 (diff)
downloadscala-80b0660efbc10325a657812720f99aff7410f0ce.tar.gz
scala-80b0660efbc10325a657812720f99aff7410f0ce.tar.bz2
scala-80b0660efbc10325a657812720f99aff7410f0ce.zip
Apply local optimization based on nullness information
Optimize IFNULL branches to GOTO when (non-)nullness of the tested value is known statically. This enables unreachable code to be removed, which in turn enables boxes to be eliminated. Changed a test flag from `-Ynooptimise` to `-Yopt:l:classpath` - I still have to do this systematically, this will follow later.
Diffstat (limited to 'test/files/run/t7852.flags')
-rw-r--r--test/files/run/t7852.flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t7852.flags b/test/files/run/t7852.flags
index f6262fd3e0..bc22511cff 100644
--- a/test/files/run/t7852.flags
+++ b/test/files/run/t7852.flags
@@ -1 +1 @@
--Ynooptimise
+-Yopt:l:none