aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/swift.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2017-12-22 08:01:33 -0600
committerMatt Godbolt <matt@godbolt.org>2017-12-22 08:01:33 -0600
commitd085bac7084cf7e18a03e9f9fea47bae01223e82 (patch)
treeaf2f365d1c10d860cdea080b0bb071a3c2d13b4b /lib/compilers/swift.js
parent87afc3aa67e6e169fcc41cb7437e05f9261050ea (diff)
downloadcompiler-explorer-d085bac7084cf7e18a03e9f9fea47bae01223e82.tar.gz
compiler-explorer-d085bac7084cf7e18a03e9f9fea47bae01223e82.zip
Remove explicit langid, as it's part of the compiler config already
Diffstat (limited to 'lib/compilers/swift.js')
-rw-r--r--lib/compilers/swift.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/swift.js b/lib/compilers/swift.js
index ffd39a295..884828852 100644
--- a/lib/compilers/swift.js
+++ b/lib/compilers/swift.js
@@ -1,8 +1,8 @@
const Compile = require('../base-compiler'),
logger = require('../logger').logger;
-function compileSwift(info, env, langId) {
- const compiler = new Compile(info, env, langId);
+function compileSwift(info, env) {
+ const compiler = new Compile(info, env);
compiler.handlePostProcessResult = function (result, postResult) {
result.asm = postResult.stdout;