blob: 3bb0f124f3d27716c9c308314147adbf50a9a847 [file] [log] [blame] [raw]
var Compile = require('../base-compiler');
function compileISPC(info, env) {
var compiler = new Compile(info, env);
compiler.optionsForFilter = function (filters, outputFilename, userOptions) {
return ['--target=sse2-i32x4', '--emit-asm', '-g', '-o', this.filename(outputFilename)];
};
return compiler.initialise();
}
module.exports = compileISPC;