diff options
Diffstat (limited to 'lib/compilers/ispc.js')
-rw-r--r-- | lib/compilers/ispc.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/compilers/ispc.js b/lib/compilers/ispc.js new file mode 100644 index 000000000..79912e735 --- /dev/null +++ b/lib/compilers/ispc.js @@ -0,0 +1,11 @@ +var Compile = require('../base-compiler'); + +function compileISPC(info, env) { + var compiler = new Compile(info, env); + compiler.optionsForFilter = function (filters, outputFilename) { + return ['--emit-asm', '-g', '-o', this.filename(outputFilename)]; + }; + return compiler.initialise(); +} + +module.exports = compileISPC; |