From 3a5420f3d2ffb6a714dba7cd381fa3fdee99fbf8 Mon Sep 17 00:00:00 2001 From: partouf Date: Sun, 6 Sep 2020 19:51:24 +0000 Subject: [PATCH] remove unused code --- lib/tooling/llvm-mca-tool.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/tooling/llvm-mca-tool.js b/lib/tooling/llvm-mca-tool.js index 6c21ad269..ca7884060 100644 --- a/lib/tooling/llvm-mca-tool.js +++ b/lib/tooling/llvm-mca-tool.js @@ -40,14 +40,6 @@ class LLVMMcaTool extends BaseTool { } async runTool(compilationInfo, inputFilepath, args) { - // Check #2119 - // eslint-disable-next-line sonarjs/no-unused-collection - const extraArgs = []; - if (compilationInfo.filters.intel) { - extraArgs.push('--x86-asm-syntax=intel'); - extraArgs.push('-output-asm-variant=1'); - } - if (compilationInfo.filters.binary) { return this.createErrorResponse(''); }