diff options
| author | Dan Gohman <gohman@apple.com> | 2010-08-03 20:23:52 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-08-03 20:23:52 +0000 |
| commit | 3f988efa1b592cc60354c09c614acb36328a5429 (patch) | |
| tree | 2aa415dfe95e9f769bf42d3944ab504735d3103b /lib/Analysis/BasicAliasAnalysis.cpp | |
| parent | 3da0967a81dfb4382080831e6344adcac93ae53b (diff) | |
| download | external_llvm-3f988efa1b592cc60354c09c614acb36328a5429.zip external_llvm-3f988efa1b592cc60354c09c614acb36328a5429.tar.gz external_llvm-3f988efa1b592cc60354c09c614acb36328a5429.tar.bz2 | |
The singular of "indices" is "index".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicAliasAnalysis.cpp')
| -rw-r--r-- | lib/Analysis/BasicAliasAnalysis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 158e323..d314ebe 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -427,11 +427,11 @@ BasicAliasAnalysis::getModRefInfo(CallSite CS1, CallSite CS2) { return NoAA::getModRefInfo(CS1, CS2); } -/// GetIndiceDifference - Dest and Src are the variable indices from two +/// GetIndexDifference - Dest and Src are the variable indices from two /// decomposed GetElementPtr instructions GEP1 and GEP2 which have common base /// pointers. Subtract the GEP2 indices from GEP1 to find the symbolic /// difference between the two pointers. -static void GetIndiceDifference( +static void GetIndexDifference( SmallVectorImpl<std::pair<const Value*, int64_t> > &Dest, const SmallVectorImpl<std::pair<const Value*, int64_t> > &Src) { if (Src.empty()) return; @@ -515,7 +515,7 @@ BasicAliasAnalysis::aliasGEP(const GEPOperator *GEP1, unsigned V1Size, // Subtract the GEP2 pointer from the GEP1 pointer to find out their // symbolic difference. GEP1BaseOffset -= GEP2BaseOffset; - GetIndiceDifference(GEP1VariableIndices, GEP2VariableIndices); + GetIndexDifference(GEP1VariableIndices, GEP2VariableIndices); } else { // Check to see if these two pointers are related by the getelementptr |
