aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/ldc.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2019-03-24 11:43:52 -0500
committerMatt Godbolt <matt@godbolt.org>2019-03-24 11:43:52 -0500
commit9410c2a0abee595c9f8edd29bd38733d16fbc044 (patch)
treea116b45ece457ee5adb84220b179f537c106e9a3 /lib/compilers/ldc.js
parent3062de63bb599aaca65d8f14fff5091badbad3fd (diff)
downloadcompiler-explorer-9410c2a0abee595c9f8edd29bd38733d16fbc044.tar.gz
compiler-explorer-9410c2a0abee595c9f8edd29bd38733d16fbc044.zip
Fix build, formatting issue
Diffstat (limited to 'lib/compilers/ldc.js')
-rw-r--r--lib/compilers/ldc.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compilers/ldc.js b/lib/compilers/ldc.js
index ced24df3a..748aeca13 100644
--- a/lib/compilers/ldc.js
+++ b/lib/compilers/ldc.js
@@ -86,7 +86,8 @@ class LDCCompiler extends BaseCompiler {
// Override the IR processing method for LDC because the output file is different from clang.
processIrOutput(output, filters) {
- const irPath = this.getOutputFilename(path.dirname(output.inputFilename), this.outputFilebase).replace('.s', '.ll');
+ const irPath = this.getOutputFilename(path.dirname(output.inputFilename), this.outputFilebase)
+ .replace('.s', '.ll');
if (fs.existsSync(irPath)) {
const output = fs.readFileSync(irPath, 'utf-8');
// uses same filters as main compiler