diff options
-rw-r--r-- | lib/base-compiler.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/base-compiler.js b/lib/base-compiler.js index a2c7e0eac..f924a47e9 100644 --- a/lib/base-compiler.js +++ b/lib/base-compiler.js @@ -140,16 +140,16 @@ export class BaseCompiler { }; } }); - + const filterLibIds = new Set(); _.each(filterLibAndVersion, (lib) => { filterLibIds.add(lib.id); }); - + const copiedLibraries = {}; _.each(allLibraries, (lib, libid) => { if (!filterLibIds.has(libid)) return; - + const libcopy = Object.assign({}, lib); libcopy.versions = _.omit(lib.versions, (version, versionid) => { for (const filter of filterLibAndVersion) { @@ -158,13 +158,13 @@ export class BaseCompiler { if (filter.version === versionid) return false; } } - + return true; }); - + copiedLibraries[libid] = libcopy; }); - + return copiedLibraries; } @@ -754,11 +754,11 @@ export class BaseCompiler { } /** - * @returns {{filename_suffix: string, name: string, command_prefix: string}} + * @returns {{filename_suffix: string, name: string, command_prefix: string}} * `filename_suffix`: dump file name suffix if GCC default dump names is used - * + * * `name`: the name to be displayed in the UI - * + * * `command_prefix`: command prefix to be used in case this dump is to be * created using a targeted option (eg. -fdump-rtl-expand) */ |