[PATCH] D15988: Remove static global GCNames from Function.cpp and move it to the Context

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 18:23:55 PST 2016


vsk added a comment.

Thanks! I knew it'd be a good idea to steal some bits away from `CallingConvention` :). Lgtm with one change.


================
Comment at: lib/IR/Function.cpp:382
@@ -410,1 +381,3 @@
+    return;
+  getContext().deleteGC(*this);
 }
----------------
We should also clear the subclass value data bit here.


http://reviews.llvm.org/D15988





More information about the llvm-commits mailing list