[PATCH] D11607: Fix infinite loop in Shrink Wrapping
Quentin Colombet
qcolombet at apple.com
Wed Jul 29 14:17:48 PDT 2015
qcolombet accepted this revision.
qcolombet added a comment.
This revision is now accepted and ready to land.
Hi Kit,
Nice catch!
LGTM.
Thanks,
-Quentin
================
Comment at: lib/CodeGen/ShrinkWrap.cpp:300
@@ +299,3 @@
+ else {
+ Save = NULL;
+ break;
----------------
s/NULL/nullptr/
================
Comment at: lib/CodeGen/ShrinkWrap.cpp:313
@@ +312,3 @@
+ else {
+ Restore = NULL;
+ break;
----------------
Ditto.
http://reviews.llvm.org/D11607
More information about the llvm-commits
mailing list