1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

attempt to appease msvc

llvm-svn: 113198
This commit is contained in:
Chris Lattner 2010-09-07 06:10:48 +00:00
parent cb72b44075
commit bdedd983a9

View File

@ -1637,6 +1637,9 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
OS << " bool operator()(StringRef LHS, const MatchEntry &RHS) {\n";
OS << " return LHS < StringRef(RHS.Mnemonic);\n";
OS << " }\n";
OS << " bool operator()(const MatchEntry &LHS, const MatchEntry &RHS) {\n";
OS << " return StringRef(LHS.Mnemonic) < StringRef(RHS.Mnemonic);\n";
OS << " }\n";
OS << " };\n";
OS << "} // end anonymous namespace.\n\n";