diff options
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/TableGen/AsmMatcherEmitter.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp index f2adc00c07d..f98ee3a0833 100644 --- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp +++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp @@ -86,8 +86,8 @@ using namespace llvm; namespace { - cl::opt<std::string> - MatchOneInstr("match-one-instr", cl::desc("Match only the named instruction"), +static cl::opt<std::string> +MatchOneInstr("match-one-instr", cl::desc("Match only the named instruction"), cl::init("")); } @@ -272,18 +272,6 @@ static bool IsAssemblerInstruction(const StringRef &Name, namespace { -struct OperandListLess { - bool operator()(const - std::pair<const CodeGenInstruction::OperandInfo*, unsigned> & - A, - const - std::pair<const CodeGenInstruction::OperandInfo*, unsigned> & - B) { - return A.first->MIOperandNo < B.first->MIOperandNo; - } - -}; - struct InstructionInfo { struct Operand { enum { |

