mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 19:14:32 -06:00
don't use argumentparser on compilers we're certain to not have anything useful
This commit is contained in:
@@ -68,6 +68,12 @@ function compileCl(info, env) {
|
||||
return false;
|
||||
};
|
||||
|
||||
compile.getArgumentParser = function () {
|
||||
return function (compiler) {
|
||||
return compiler;
|
||||
}
|
||||
};
|
||||
|
||||
compile.postProcessAsm = function(result) {
|
||||
return RunCLDemangler(this, result);
|
||||
};
|
||||
|
||||
@@ -48,6 +48,12 @@ function compileCl(info, env) {
|
||||
return false;
|
||||
};
|
||||
|
||||
compile.getArgumentParser = function () {
|
||||
return function (compiler) {
|
||||
return compiler;
|
||||
}
|
||||
};
|
||||
|
||||
compile.postProcessAsm = function(result) {
|
||||
return RunCLDemangler(this, result);
|
||||
};
|
||||
|
||||
@@ -188,6 +188,12 @@ function compileFPC(info, env) {
|
||||
originalExecBinary(executable, result, maxSize);
|
||||
};
|
||||
|
||||
compiler.getArgumentParser = function () {
|
||||
return function (compiler) {
|
||||
return compiler;
|
||||
}
|
||||
};
|
||||
|
||||
if (info.unitTestMode) {
|
||||
compiler.initialise();
|
||||
return compiler;
|
||||
|
||||
Reference in New Issue
Block a user