aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/ispc.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2019-01-08 03:20:30 +0100
committerPartouf <partouf@gmail.com>2019-01-08 03:20:30 +0100
commite892d3506fe977d838ad3a52c2db28c05191950d (patch)
treeef5408f3e30d67feb3972efe94480d01314f7e59 /lib/compilers/ispc.js
parent51c36b7b858a7ed7e562cd36f021b098c7b0a962 (diff)
downloadcompiler-explorer-e892d3506fe977d838ad3a52c2db28c05191950d.tar.gz
compiler-explorer-e892d3506fe977d838ad3a52c2db28c05191950d.zip
change argument parser for some compilers
Diffstat (limited to 'lib/compilers/ispc.js')
-rw-r--r--lib/compilers/ispc.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/compilers/ispc.js b/lib/compilers/ispc.js
index fc0373513..0ad177ecf 100644
--- a/lib/compilers/ispc.js
+++ b/lib/compilers/ispc.js
@@ -22,12 +22,17 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
-const BaseCompiler = require('../base-compiler');
+const BaseCompiler = require('../base-compiler'),
+ argumentParsers = require("./argument-parsers");
class ISPCCompiler extends BaseCompiler {
optionsForFilter(filters, outputFilename) {
return ['--target=sse2-i32x4', '--emit-asm', '-g', '-o', this.filename(outputFilename)];
}
+
+ getArgumentParser() {
+ return argumentParsers.ISPC;
+ }
}
module.exports = ISPCCompiler;