diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-02-09 13:37:33 -0500 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-02-09 13:37:33 -0500 |
commit | 88d76d4ad9a8a4f6ec4fa7a2d3ef765706b01950 (patch) | |
tree | 56e95a29df68224b7a7c3036cf569ad2ef9954ec /emcc | |
parent | f983b9d17737533225da4b1ec851c421c13af9e8 (diff) |
Fix the usage of temp_file in one location
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -456,8 +456,8 @@ try: # Note that by assembling the .ll file, then disassembling it later, we will # remove annotations which is a good thing for compilation time if DEBUG: print >> sys.stderr, 'emcc: assembling assembly file: ', input_file - temp_file = in_temp(os.path.basename(input_file)) - shared.Building.llvm_as(input_file, in_temp(unsuffixed_basename(input_file) + '.o')) + temp_file = in_temp(unsuffixed_basename(input_file) + '.o') + shared.Building.llvm_as(input_file, temp_file) temp_files.append(temp_file) # If we were just asked to generate bitcode, stop there |