diff options
author | Matt Godbolt <matt@godbolt.org> | 2017-03-03 15:15:02 -0600 |
---|---|---|
committer | Matt Godbolt <matt@godbolt.org> | 2017-03-03 15:15:02 -0600 |
commit | aeffa9423bc30e6e493cb323c88d361cc0959e83 (patch) | |
tree | e4cc95612261ff25eed6a7d54b70a60b2e88750a /lib/compilers/ldc.js | |
parent | d4f9968235ba37944cde0a617703e0f903f1bd4c (diff) | |
download | compiler-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.js | 5 |
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; |