diff options
author | Partouf <partouf@gmail.com> | 2018-01-28 00:34:05 +0100 |
---|---|---|
committer | Partouf <partouf@gmail.com> | 2018-01-28 00:34:05 +0100 |
commit | 9a76e777a7476b3993f5de1bbfde508d9a245b84 (patch) | |
tree | 302850f7ebc896cbc91f7997bf1b37543b5140ce /lib/compilers/assembly.js | |
parent | bc792ad6e51b84ccc9bf79ab1b7f1e9c20c2c560 (diff) | |
download | compiler-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.js | 8 |
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() { |