diff options
author | Partouf <partouf@gmail.com> | 2019-01-08 03:20:30 +0100 |
---|---|---|
committer | Partouf <partouf@gmail.com> | 2019-01-08 03:20:30 +0100 |
commit | e892d3506fe977d838ad3a52c2db28c05191950d (patch) | |
tree | ef5408f3e30d67feb3972efe94480d01314f7e59 /lib/compilers/ispc.js | |
parent | 51c36b7b858a7ed7e562cd36f021b098c7b0a962 (diff) | |
download | compiler-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.js | 7 |
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; |