diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-05-30 22:24:08 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-05-30 22:24:08 +0000 |
commit | 485762ccbab2dea3677dda50f16d790e24da0314 (patch) | |
tree | 23e2f03bd370c68e333ebdf66dba15abd7ef37e7 /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py | |
parent | e2a20b1b29158b8a91a2a4c303cd3d1c87eef356 (diff) | |
download | bcm5719-llvm-485762ccbab2dea3677dda50f16d790e24da0314.tar.gz bcm5719-llvm-485762ccbab2dea3677dda50f16d790e24da0314.zip |
[NewGVN] Fix set comparison; reflow comment
Looks like we intended to compare this->Members with Other->Members
here, but ended up comparing this->Members with this->Members. Oops. :)
Since CongruenceClass::Members is a SmallPtrSet anyway, we can probably
skip building std::sets if we're willing to write a bit more code.
This appears to be no functional change (for sufficiently lax values of
"no"): this equality check was only being called inside of an assert.
So, worst case, we'll catch more bugs in the form of assertion failures.
Thanks to d0k for noting this!
llvm-svn: 333601
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions