summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2014-08-01 01:42:01 +0000
committerRichard Trieu <rtrieu@google.com>2014-08-01 01:42:01 +0000
commit428058fb9a89586b43e9b6fe16e22664d9d37d00 (patch)
treef995fed25b101217e60d48e7af2e8fc2f6ded2b2 /clang/lib/CodeGen/CGClass.cpp
parent82ecc7ff2a206068be74559134755e036ca9481e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud