diff options
author | Richard Trieu <rtrieu@google.com> | 2014-08-01 01:42:01 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2014-08-01 01:42:01 +0000 |
commit | 428058fb9a89586b43e9b6fe16e22664d9d37d00 (patch) | |
tree | f995fed25b101217e60d48e7af2e8fc2f6ded2b2 /clang/lib/CodeGen/CGClass.cpp | |
parent | 82ecc7ff2a206068be74559134755e036ca9481e (diff) | |
download | bcm5719-llvm-428058fb9a89586b43e9b6fe16e22664d9d37d00.tar.gz bcm5719-llvm-428058fb9a89586b43e9b6fe16e22664d9d37d00.zip |
Remove this pointer that is converted to bool. In well-defined contexts, the
this pointer is always non-null. If the this pointer is null, it is undefined
and the compiler may optimize it away by assuming it is non-null. The null
checks are pushed into the callers.
llvm-svn: 214471
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions