don't use argumentparser on compilers we're certain to not have anything useful

This commit is contained in:
partouf
2018-01-03 12:59:15 +01:00
parent 42af21e01c
commit b5d4ab04fc
3 changed files with 18 additions and 0 deletions
+6
View File
@@ -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);
};
+6
View File
@@ -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);
};
+6
View File
@@ -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;