mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Persuade GCC that there is nothing worth warning about here (there isn't).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149834 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -127,7 +127,7 @@ AliasAnalysis::AliasResult
|
||||
AliasAnalysisCounter::alias(const Location &LocA, const Location &LocB) {
|
||||
AliasResult R = getAnalysis<AliasAnalysis>().alias(LocA, LocB);
|
||||
|
||||
const char *AliasString;
|
||||
const char *AliasString = 0;
|
||||
switch (R) {
|
||||
case NoAlias: No++; AliasString = "No alias"; break;
|
||||
case MayAlias: May++; AliasString = "May alias"; break;
|
||||
@@ -153,7 +153,7 @@ AliasAnalysisCounter::getModRefInfo(ImmutableCallSite CS,
|
||||
const Location &Loc) {
|
||||
ModRefResult R = getAnalysis<AliasAnalysis>().getModRefInfo(CS, Loc);
|
||||
|
||||
const char *MRString;
|
||||
const char *MRString = 0;
|
||||
switch (R) {
|
||||
case NoModRef: NoMR++; MRString = "NoModRef"; break;
|
||||
case Ref: JustRef++; MRString = "JustRef"; break;
|
||||
|
||||
Reference in New Issue
Block a user