aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/ispc.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/ispc.js')
-rw-r--r--lib/compilers/ispc.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/compilers/ispc.js b/lib/compilers/ispc.js
index d38976037..fccf39ab5 100644
--- a/lib/compilers/ispc.js
+++ b/lib/compilers/ispc.js
@@ -22,10 +22,11 @@
// 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'),
- argumentParsers = require('./argument-parsers');
+import { BaseCompiler } from '../base-compiler';
-class ISPCCompiler extends BaseCompiler {
+import { ISPCParser } from './argument-parsers';
+
+export class ISPCCompiler extends BaseCompiler {
static get key() { return 'ispc'; }
optionsForFilter(filters, outputFilename) {
@@ -37,12 +38,10 @@ class ISPCCompiler extends BaseCompiler {
}
getArgumentParser() {
- return argumentParsers.ISPC;
+ return ISPCParser;
}
isCfgCompiler(/*compilerVersion*/) {
return true;
}
}
-
-module.exports = ISPCCompiler;