shortened notation

This commit is contained in:
partouf
2018-01-03 13:09:50 +01:00
parent b5d4ab04fc
commit 7fa8dbd85a
3 changed files with 3 additions and 15 deletions
+1 -5
View File
@@ -68,11 +68,7 @@ function compileCl(info, env) {
return false;
};
compile.getArgumentParser = function () {
return function (compiler) {
return compiler;
}
};
compile.getArgumentParser = () => (compiler) => compiler;
compile.postProcessAsm = function(result) {
return RunCLDemangler(this, result);
+1 -5
View File
@@ -48,11 +48,7 @@ function compileCl(info, env) {
return false;
};
compile.getArgumentParser = function () {
return function (compiler) {
return compiler;
}
};
compile.getArgumentParser = () => (compiler) => compiler;
compile.postProcessAsm = function(result) {
return RunCLDemangler(this, result);
+1 -5
View File
@@ -188,11 +188,7 @@ function compileFPC(info, env) {
originalExecBinary(executable, result, maxSize);
};
compiler.getArgumentParser = function () {
return function (compiler) {
return compiler;
}
};
compiler.getArgumentParser = () => (compiler) => compiler;
if (info.unitTestMode) {
compiler.initialise();