diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-20 19:00:31 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-20 19:00:31 -0800 |
commit | 885dd1a17370d42b1349293d01b85d45a650e2d0 (patch) | |
tree | c929b3eb6705e12dab22ff4e73524e6e50c3b6e5 /tests | |
parent | 02cf5021ed08214e85b4b9b7a887f65ea2ae473a (diff) |
remove dead function eliminator, which is no longer needed
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/runner.py b/tests/runner.py index a553620f..74381090 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -4452,28 +4452,6 @@ def process(filename): self.do_run(src, build_ll_hook=self.do_autodebug) self.do_run(src, 'AD:', build_ll_hook=self.do_autodebug) - def test_dfe(self): - def hook(filename): - ll = open(filename + '.o.ll').read() - assert 'unneeded' not in ll, 'DFE should remove the unneeded function' - - src = ''' - #include <stdio.h> - - void unneeded() - { - printf("some totally useless stuff\\n"); - } - - int main() - { - printf("*hello slim world*\\n"); - return 0; - } - ''' - # Using build_ll_hook forces a recompile, which leads to DFE being done even without opts - self.do_run(src, '*hello slim world*', build_ll_hook=hook) - def test_profiling(self): src = ''' #include <emscripten.h> |