projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3e9d4
)
fix edito
author
Chris Lattner
<sabre@nondot.org>
Sat, 8 Aug 2009 23:43:55 +0000
(23:43 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 8 Aug 2009 23:43:55 +0000
(23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78520
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/AsmMatcherEmitter.cpp
b/utils/TableGen/AsmMatcherEmitter.cpp
index d3b9676a1c5515f4bae89fb94aa869f9fac8f280..6948a7ee645a8efe28374863b1338207eba2e195 100644
(file)
--- a/
utils/TableGen/AsmMatcherEmitter.cpp
+++ b/
utils/TableGen/AsmMatcherEmitter.cpp
@@
-763,7
+763,6
@@
static bool EmitStringMatcherForChar(const std::string &StrVariableName,
// If we have exactly one bucket to match, see how many characters are common
// across the whole set and match all of them at once.
- // length, just verify the rest of it with one if.
if (MatchesByLetter.size() == 1) {
unsigned FirstNonCommonLetter = FindFirstNonCommonLetter(Matches);
unsigned NumChars = FirstNonCommonLetter-CharNo;