aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/assembly.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2018-01-28 00:34:05 +0100
committerPartouf <partouf@gmail.com>2018-01-28 00:34:05 +0100
commit9a76e777a7476b3993f5de1bbfde508d9a245b84 (patch)
tree302850f7ebc896cbc91f7997bf1b37543b5140ce /lib/compilers/assembly.js
parentbc792ad6e51b84ccc9bf79ab1b7f1e9c20c2c560 (diff)
downloadcompiler-explorer-9a76e777a7476b3993f5de1bbfde508d9a245b84.tar.gz
compiler-explorer-9a76e777a7476b3993f5de1bbfde508d9a245b84.zip
remove return initialise, no need for unittestmode
Diffstat (limited to 'lib/compilers/assembly.js')
-rw-r--r--lib/compilers/assembly.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/compilers/assembly.js b/lib/compilers/assembly.js
index 6fa2971d0..dacc36322 100644
--- a/lib/compilers/assembly.js
+++ b/lib/compilers/assembly.js
@@ -34,13 +34,7 @@ class AssemblyCompiler extends BaseCompiler {
constructor(info, env) {
super(info, env);
this.asm = new AsmRaw();
-
- if (info.unitTestMode) {
- this.initialise();
- return this;
- } else {
- return this.initialise();
- }
+ this.initResult = this.initialise();
}
getArgumentParser() {