aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-02-09 13:37:33 -0500
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-02-09 13:37:33 -0500
commit88d76d4ad9a8a4f6ec4fa7a2d3ef765706b01950 (patch)
tree56e95a29df68224b7a7c3036cf569ad2ef9954ec /emcc
parentf983b9d17737533225da4b1ec851c421c13af9e8 (diff)
Fix the usage of temp_file in one location
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/emcc b/emcc
index 49c062c5..b59dd36a 100755
--- a/emcc
+++ b/emcc
@@ -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