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 /tools/shared.py | |
parent | 02cf5021ed08214e85b4b9b7a887f65ea2ae473a (diff) |
remove dead function eliminator, which is no longer needed
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/shared.py b/tools/shared.py index 6f6fa0d6..6fb708f8 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -106,7 +106,6 @@ EMRANLIB = path_from_root('emranlib') EMLIBTOOL = path_from_root('emlibtool') EMMAKEN = path_from_root('tools', 'emmaken.py') AUTODEBUGGER = path_from_root('tools', 'autodebugger.py') -DFE = path_from_root('tools', 'dead_function_eliminator.py') BINDINGS_GENERATOR = path_from_root('tools', 'bindings_generator.py') EXEC_LLVM = path_from_root('tools', 'exec_llvm.py') VARIABLE_ELIMINATOR = path_from_root('tools', 'eliminator', 'eliminator.coffee') @@ -439,9 +438,7 @@ class Building: # open(filename + '.o.ll', 'r').readlines()) #os.unlink(filename + '.o.ll') #open(filename + '.o.ll.orig', 'w').write(''.join(cleaned)) - shutil.move(filename + '.o.ll', filename + '.o.ll.orig') - output = Popen(['python', DFE, filename + '.o.ll.orig', filename + '.o.ll'], stdout=PIPE).communicate()[0] - assert os.path.exists(filename + '.o.ll'), 'Failed to run ll optimizations' + pass # LLVM optimizations # @param opt Either an integer, in which case it is the optimization level (-O1, -O2, etc.), or a list of raw |