Simplify unnecessarily complicated condition.

This commit is contained in:
Jeroen Vermeulen 2015-06-29 12:23:53 +07:00
parent fba4a3e24d
commit 5e81e4b9c3

View File

@ -52,11 +52,7 @@ public:
// shouldn't be mixing hypos with different lhs
assert(hypoA->GetTargetLHS() == hypoB->GetTargetLHS());
int ret = hypoA->RecombineCompare(*hypoB);
if (ret != 0)
return (ret < 0);
return false;
return (hypoA->RecombineCompare(*hypoB) < 0);
}
};