Skip to content

Commit

Permalink
IntegersSubsetMappin: cosmetic changes in diff operation.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159661 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
kaomoneus committed Jul 3, 2012
1 parent 2e2a15e commit 9ccc83e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/llvm/Support/IntegersSubsetMapping.h
Expand Up @@ -195,7 +195,7 @@ class IntegersSubsetMapping {
}
}

void onRLOpen(const IntTy &Pt,
void onLROpen(const IntTy &Pt,
SuccessorClass *LS,
SuccessorClass *RS) {
switch (State) {
Expand All @@ -211,7 +211,7 @@ class IntegersSubsetMapping {
OpenPt = Pt;
}

void onRLClose(const IntTy &Pt) {
void onLRClose(const IntTy &Pt) {
switch (State) {
case INTERSECT_OPENED:
if (IntersectionMapping)
Expand Down Expand Up @@ -472,8 +472,8 @@ class IntegersSubsetMapping {
}

if (LRange.isSingleNumber() && RRange.isSingleNumber()) {
Machine.onRLOpen(LRange.getLow(), LCluster.second, RCluster.second);
Machine.onRLClose(LRange.getLow());
Machine.onLROpen(LRange.getLow(), LCluster.second, RCluster.second);
Machine.onLRClose(LRange.getLow());
++L;
++R;
continue;
Expand Down Expand Up @@ -512,7 +512,7 @@ class IntegersSubsetMapping {
Machine.onLOpen(LRange.getLow(), LCluster.second);
}
else
Machine.onRLOpen(LRange.getLow(), LCluster.second, RCluster.second);
Machine.onLROpen(LRange.getLow(), LCluster.second, RCluster.second);

if (LRange.getHigh() < RRange.getHigh()) {
Machine.onLClose(LRange.getHigh());
Expand All @@ -533,7 +533,7 @@ class IntegersSubsetMapping {
}
}
else {
Machine.onRLClose(LRange.getHigh());
Machine.onLRClose(LRange.getHigh());
++L;
++R;
}
Expand Down

0 comments on commit 9ccc83e

Please sign in to comment.