projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move this debug output into GenerateAllReuseFormula, to declutter
[oota-llvm.git]
/
lib
/
Support
/
StringRef.cpp
diff --git
a/lib/Support/StringRef.cpp
b/lib/Support/StringRef.cpp
index c33ca6a2ebf678357d39951513257483d29e68a2..46f26b242aac36f843234d51d3a36a320ab4d9eb 100644
(file)
--- a/
lib/Support/StringRef.cpp
+++ b/
lib/Support/StringRef.cpp
@@
-59,7
+59,7
@@
int StringRef::compare_numeric(StringRef RHS) const {
break;
}
}
- return
Data[I] <
RHS.Data[I] ? -1 : 1;
+ return
(unsigned char)Data[I] < (unsigned char)
RHS.Data[I] ? -1 : 1;
}
if (Length == RHS.Length)
return 0;