diff options
Diffstat (limited to 'tools/exec_llvm.py')
-rwxr-xr-x | tools/exec_llvm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/exec_llvm.py b/tools/exec_llvm.py index 2685f9e4..ec7a8924 100755 --- a/tools/exec_llvm.py +++ b/tools/exec_llvm.py @@ -39,12 +39,12 @@ def path_from_root(*pathelems): sys.path += [path_from_root('')] from tools.shared import * -Popen([LLVM_OPT, sys.argv[1], '-strip-debug', '-o=' + sys.argv[1]+'.clean.bc']).communicate()[0] +Popen([LLVM_OPT, sys.argv[1], '-strip-debug', '-o', sys.argv[1]+'.clean.bc']).communicate()[0] # Execute with empty environment - just like the JS script will have Popen([LLVM_INTERPRETER, sys.argv[1]+'.clean.bc'] + sys.argv[2:], env={'HOME': '.'}).communicate()[0] -#Popen([LLVM_COMPILER, '-march=c', sys.argv[1], '-o=' + sys.argv[1]+'.cbe.c']).communicate()[0] +#Popen([LLVM_COMPILER, '-march=c', sys.argv[1], '-o', sys.argv[1]+'.cbe.c']).communicate()[0] #Popen(['gcc', sys.argv[1]+'.cbe.c', '-lstdc++']).communicate()[0] #Popen(['./a.out'] + sys.argv[2:]).communicate()[0] |