aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/ldc.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2017-03-03 15:15:02 -0600
committerMatt Godbolt <matt@godbolt.org>2017-03-03 15:15:02 -0600
commitaeffa9423bc30e6e493cb323c88d361cc0959e83 (patch)
treee4cc95612261ff25eed6a7d54b70a60b2e88750a /lib/compilers/ldc.js
parentd4f9968235ba37944cde0a617703e0f903f1bd4c (diff)
downloadcompiler-explorer-aeffa9423bc30e6e493cb323c88d361cc0959e83.tar.gz
compiler-explorer-aeffa9423bc30e6e493cb323c88d361cc0959e83.zip
Fix up ldc. Actually test it first *blush*. See #300
Diffstat (limited to 'lib/compilers/ldc.js')
-rw-r--r--lib/compilers/ldc.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/compilers/ldc.js b/lib/compilers/ldc.js
index c935e14bc..d85738363 100644
--- a/lib/compilers/ldc.js
+++ b/lib/compilers/ldc.js
@@ -26,15 +26,14 @@ var Compile = require('../base-compiler');
function compileLdc(info, env) {
var compiler = new Compile(info, env);
- // TODO this needs testing!
compiler.compiler.supportsIntel = true;
compiler.optionsForFilter = function (filters, outputFilename) {
var options = ['-g', '-of', this.filename(outputFilename)];
- if (filters.intel && !filters.binary) options.concat('-x86-asm-syntax=intel');
+ if (filters.intel && !filters.binary) options = options.concat('-x86-asm-syntax=intel');
if (!filters.binary) options = options.concat('-output-s');
return options;
};
return compiler.initialise();
}
-module.exports = compileLdc; \ No newline at end of file
+module.exports = compileLdc;