diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-05-02 00:05:16 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-05-02 00:05:16 +0000 |
| commit | fb3f2a93e5796908d768ad50bc3e51de8332f3dd (patch) | |
| tree | 1fa72f2a293086317a583b7a310d368f842308f5 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | fc4510c523cb547eac247cc20cb0837ebfa4bd18 (diff) | |
| download | clang-fb3f2a93e5796908d768ad50bc3e51de8332f3dd.tar.gz clang-fb3f2a93e5796908d768ad50bc3e51de8332f3dd.tar.bz2 clang-fb3f2a93e5796908d768ad50bc3e51de8332f3dd.tar.xz | |
MS ABI: Fix logic bug in member pointer null test code
This code is trying to test if the pointer is *not* null. Therefore we
should use 'or' instead of 'and' to combine the results of 'icmp ne'.
This logic is consistent with the general member pointer comparison code
in EmitMemberPointerComparison.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
