mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 14:26:09 -06:00
shortened notation
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user