Revision a7cd4a3c97193ba32ec8da6a9403e5ad8857a999 authored by Keno Fischer on 01 May 2018, 19:45:17 UTC, committed by Keno Fischer on 01 May 2018, 19:45:17 UTC
Previously, the new optimizer used the pre-existing `effect_free` function to determine whether it is safe to remove an unreferenced statement. However, this function ignores many builtin's error cases, causing them to be removed when that is not legal to do (because that would potentially remove an exception that would otherwise be thrown). Start fixing this, by introducing a version of the function that is correct for a subset of intresting functions. We will likely need to expand this when we look at the benchmarks, but this should be correct for now.
1 parent 4910e59
File | Mode | Size |
---|---|---|
.circleci | ||
.github | ||
base | ||
contrib | ||
deps | ||
doc | ||
etc | ||
src | ||
stdlib | ||
test | ||
ui | ||
.freebsdci.sh | -rwxr-xr-x | 1.0 KB |
.gitattributes | -rw-r--r-- | 67 bytes |
.gitignore | -rw-r--r-- | 213 bytes |
.mailmap | -rw-r--r-- | 9.5 KB |
.travis.yml | -rw-r--r-- | 6.4 KB |
CONTRIBUTING.md | -rw-r--r-- | 20.4 KB |
DISTRIBUTING.md | -rw-r--r-- | 23.6 KB |
HISTORY.md | -rw-r--r-- | 144.9 KB |
LICENSE.md | -rw-r--r-- | 5.4 KB |
Make.inc | -rw-r--r-- | 35.3 KB |
Makefile | -rw-r--r-- | 25.0 KB |
NEWS.md | -rw-r--r-- | 77.6 KB |
README.arm.md | -rw-r--r-- | 5.7 KB |
README.md | -rw-r--r-- | 29.5 KB |
README.windows.md | -rw-r--r-- | 13.0 KB |
VERSION | -rw-r--r-- | 10 bytes |
Windows.inc | -rw-r--r-- | 1.5 KB |
appveyor.yml | -rw-r--r-- | 2.2 KB |
Computing file changes ...